summaryrefslogtreecommitdiffstats
path: root/.github/workflows/prerelease.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/prerelease.yml')
-rw-r--r--.github/workflows/prerelease.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml
index c7a8594..85fa84c 100644
--- a/.github/workflows/prerelease.yml
+++ b/.github/workflows/prerelease.yml
@@ -1,4 +1,4 @@
-name: Build Go binaries
+name: Create pre-release
on:
push:
@@ -20,11 +20,16 @@ jobs:
env:
COMPRESS_FILES: true
+ - name: Get tag name
+ shell: bash
+ run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/})"
+ id: tag_name
+
- name: Pre-release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
- automatic_release_tag: "${{ GITHUB_REF }}"
+ automatic_release_tag: "${{ steps.tag_name.outputs.tag }}"
draft: true
title: "Release candidate"
files: |