Skip to content

Commit

Permalink
Remove conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbroup committed Jul 21, 2021
1 parent 6aaf9fb commit 6442a58
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,18 @@ jobs:
run: go run .

- name: Tag next version
if: "!startsWith(github.ref, 'refs/tags/')"
run: |
tag=$(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1) | awk -F. -v OFS=. '{$NF++;print}')
git tag $tag
git push origin $tag
- name: Release notes
if: startsWith(github.ref, 'refs/tags/')
run: |
git log $(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=2) | tail -1)..HEAD --pretty=format:"%h - %an: %s" > release-notes.txt
cat release-notes.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
name: List of Trust Lists
body_path: release-notes.txt
Expand Down

0 comments on commit 6442a58

Please sign in to comment.