Skip to content

Commit

Permalink
HCE-556 GitHub Permissions (#131)
Browse files Browse the repository at this point in the history
* force push

* add changelog
  • Loading branch information
itsjaspermilan authored Nov 10, 2022
1 parent 8aff8ba commit 341497c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/131.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
Use force push with lease on workflow
```
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
echo "Pushing new tag to remote"
git config -l
git push --tags
git push
git push --force-with-lease
echo "Generating Release Notes"
sed -n -e "1{/# v /d;}" -e "2{/^$/d;}" -e "/# v$(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags | tr -d v)/q;p" CHANGELOG.md > release-notes.txt
echo "Creating New Release: ${NEW_VERSION}"
Expand Down

0 comments on commit 341497c

Please sign in to comment.