Skip to content

Commit

Permalink
Testing changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Guney Saramali committed Jun 18, 2024
1 parent 4fce15a commit 706cbe6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ jobs:
with:
name: wallSync
path: ./wallSync

- name: Generate a changelog
uses: orhun/git-cliff-action@v3
id: git_cliff
with:
config: cliff.toml
args: --latest --tag ${{ github.ref }}

- name: Create Release
id: create_release
Expand All @@ -52,7 +59,7 @@ jobs:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: |
Binary Compiled for Debian.
${{ steps.git_cliff.outputs.content }}
draft: false
prerelease: false

Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/set-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,12 @@ jobs:
with:
branch: master

- name: Generate a changelog
uses: orhun/git-cliff-action@v3
id: git_cliff
with:
config: cliff.toml
args: --latest --tag v${{ steps.split_version.outputs.version }}

- name: Create release tag
uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "v${{ steps.split_version.outputs.version }}"
tag_exists_error: false
message: "${{ steps.git_cliff.outputs.content }}"
github_token: ${{ secrets.PAT }}
commit_sha: ${{ steps.auto_commit_action.outputs.commit_hash }}

Expand All @@ -56,6 +48,5 @@ jobs:
tag: "latest"
tag_exists_error: false
force_push_tag: true
message: "${{ steps.git_cliff.outputs.content }}"
github_token: ${{ secrets.PAT }}
commit_sha: ${{ steps.auto_commit_action.outputs.commit_hash }}
2 changes: 1 addition & 1 deletion internal/constants/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package constants

const VERSION = "v1.0.1"
const VERSION = "v1.0.0"

0 comments on commit 706cbe6

Please sign in to comment.