Skip to content

Commit

Permalink
try auto tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed May 23, 2024
1 parent 84d63e9 commit b89fa7b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,21 @@ jobs:
- name: Run auto.sh script
run: ./auto.sh Albanian English

- name: Tag the repository
id: tag
run: |
# See https://docs.github.com/en/get-started/using-git/dealing-with-special-characters-in-branch-and-tag-names
TAG=v$(date -Iseconds | sed 's/[T:\+]/-/g')
echo "$TAG"
echo "tag=$TAG" >> $GITHUB_OUTPUT
git tag -a $TAG -m "Published version $TAG" ${GITHUB_SHA}
git push origin $TAG
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Test auto release
tag_name: ${{ steps.tag.outputs.tag }}
prerelease: true
generate_release_notes: true
files: |
Expand Down

0 comments on commit b89fa7b

Please sign in to comment.