Skip to content

Commit

Permalink
ci/vendor: try different for release variable
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Oct 21, 2023
1 parent 85535dc commit 864d396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vendor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: go mod vendor
- name: 'Package the source directory'
run: |
RELEASE="vinegar-${{ github.ref_name }}"
RELEASE="vinegar-${{ github.event.release.tag_name }}"
cd ..
cp -r vinegar $RELEASE
Expand All @@ -30,6 +30,6 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "../vinegar-${{ github.ref_name }}.tar.xz"
file: "../vinegar-${{ github.event.release.tag_name }}.tar.xz"
overwrite: true
make_latest: false

0 comments on commit 864d396

Please sign in to comment.