Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
fix release tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Dec 14, 2021
1 parent 5b00006 commit c0d7bae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Release
on:
workflow_dispatch:
push:
paths: [CHANGELOG.md]
branches: [master]
Expand All @@ -14,8 +15,8 @@ jobs:
git fetch origin --tags
if [[ -z "$(git tag -l "v$version")" ]]; then
git tag "v$major.$minor.$patch"
git tag "v$major.$minor"
git tag "v$major"
git tag "v$major.$minor" --force
git tag "v$major" --force
git push --tags --force
echo "BODY<<EOF" >> $GITHUB_ENV
echo "$(IFS=$'\n'; echo "${log[*]}")" >> $GITHUB_ENV
Expand Down

0 comments on commit c0d7bae

Please sign in to comment.