Skip to content

Commit

Permalink
chore: remove the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
zoncoen committed Aug 5, 2024
1 parent 44443cb commit 17f9c8d
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 185 deletions.
82 changes: 0 additions & 82 deletions .chglog/CHANGELOG.tpl.md

This file was deleted.

30 changes: 0 additions & 30 deletions .chglog/config.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
changelog:
exclude:
labels:
- tagpr
- chore
categories:
- title: New Features
labels:
- enhancement
- title: Behavior Changes
labels:
- behavior change
- title: Bug Fixes
labels:
- bug fix
- title: Code Refactoring
labels:
- refactoring
- title: Dependency Upgrades
labels:
- dependencies
- title: Testing
labels:
- testing
- title: Documentation
labels:
- documentation
- title: Other Changes
labels:
- "*"
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,11 @@ jobs:
cat ./dist/**/*_checksums.txt > ./assets/checksums.txt
mv ./dist/**/*.tar.gz ./assets/
ls ./assets/
- name: Generate CHANGELOG
working-directory: ./go/src/github.com/${{ github.repository }}
run: RELEASE_VERSION=${{ github.ref_name }} make changelog/ci && cat .CHANGELOG.md
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --release-notes .CHANGELOG.md -f ./scripts/cross-build/.goreleaser.yml
args: release --clean -f ./scripts/cross-build/.goreleaser.yml
workdir: ./go/src/github.com/${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 17f9c8d

Please sign in to comment.