Skip to content

Commit

Permalink
Merge pull request bartfeenstra#752 from bartfeenstra/fix-failed-deve…
Browse files Browse the repository at this point in the history
…lopment-tags-5

Fix a bug where tagging development releases failed if a previous release existed already
  • Loading branch information
bartfeenstra authored Jun 21, 2021
2 parents dc23ed6 + 19cb6aa commit d86e925
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/tag-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@ jobs:
- name: Check out the source code
uses: actions/checkout@v2

- name: Tag the development release
run: git tag "$(git rev-parse --abbrev-ref HEAD)-dev"

- name: Push the tag
run: git push --force origin "$(git rev-parse --abbrev-ref HEAD)-dev"
run: 'curl -X POST -H "Authorization: token ${{ secrets.PAT }}" -d "{\"ref\": \"refs/tags/$(git rev-parse --abbrev-ref HEAD)-dev\",\"sha\": \"$(git rev-parse HEAD)\"}" https://api.github.com/repos/bartfeenstra/betty/git/refs'

0 comments on commit d86e925

Please sign in to comment.