Skip to content

Commit

Permalink
Fix tag names
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Oct 5, 2023
1 parent c5983b2 commit f8f6c1e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,27 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- name: Download built binary
uses: actions/download-artifact@v3
with:
name: converter-binary
path: ./dist/
- name: Set env for release
run: echo "DATE=$(date +'%Y-%m-%d %H:%M')" >> $GITHUB_ENV
- uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "releases/${{ env.DATE }}"
tag_exists_error: true
message: Release ${{ env.DATE }}

- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./dist/*
name: ${{ env.DATE }}
tag_name: ${{ env.DATE }}
name: Release ${{ env.DATE }}
tag_name: "releases/${{ env.DATE }}"

permissions:
contents: write

0 comments on commit f8f6c1e

Please sign in to comment.