Skip to content

Commit

Permalink
Default to 'NoTag'
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire authored and Flow86 committed Jan 11, 2021
1 parent 05ec337 commit b2fc866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Release

on:
push:
pull_request:
release:
types: [published]

Expand Down Expand Up @@ -34,7 +33,8 @@ jobs:
id: filenames
run: |
tag=${GITHUB_REF#refs/tags/}
tag=${tag#refs/heads/}
if [[ "$tag" =~ refs/ ]]; then tag="NoTag"; fi
echo "Using tag: $tag"
echo "::set-output name=foldername::rttrUtils_$tag"
echo "::set-output name=filename::rttrUtils-${{runner.os}}-${tag}.tar.gz"
Expand Down

0 comments on commit b2fc866

Please sign in to comment.