Skip to content

Commit

Permalink
Updated YML should get release package
Browse files Browse the repository at this point in the history
  • Loading branch information
tmahmood authored Jul 26, 2024
1 parent f668539 commit 47e042c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
- name: Get current date
id: date
run: echo "BUILD_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Set env
run: |
echo "TAG_NAME=${{ env.BUILD_DATE }}"
echo "RELEASE_NAME=${{ env.BUILD_DATE }}"
- name: Checkout
uses: actions/checkout@v4
- name: Tools
Expand All @@ -37,9 +41,6 @@ jobs:
cp target/release/taskwarrior-web taskwarrior-web
tar czf tw-web-${{ env.RELEASE_NAME }}.tar.gz dist taskwarrior-web
- name: Release
env:
TAG_NAME: Tag-${{ env.BUILD_DATE }}
RELEASE_NAME: Release-${{ env.BUILD_DATE }}
uses: softprops/action-gh-release@v2
with:
prerelease: true
Expand Down

0 comments on commit 47e042c

Please sign in to comment.