Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
souramoo authored Apr 7, 2022
1 parent db07b25 commit acef339
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ jobs:
- name: Make archive
run: cd build/prod && tar zcvf ../release.tar.gz ./

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

- name: Publish as release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: "latest"
automatic_release_tag: "${{ steps.date.outputs.date }}"
files: |
build/release.tar.gz

0 comments on commit acef339

Please sign in to comment.