diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index dfea9c5..e243afa 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -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 @@ -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 diff --git a/.github/workflows/set-version.yml b/.github/workflows/set-version.yml index d0adc22..ae6d5c3 100644 --- a/.github/workflows/set-version.yml +++ b/.github/workflows/set-version.yml @@ -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 }} @@ -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 }} diff --git a/internal/constants/version.go b/internal/constants/version.go index cbb2bf3..471d883 100644 --- a/internal/constants/version.go +++ b/internal/constants/version.go @@ -1,3 +1,3 @@ package constants -const VERSION = "v1.0.1" +const VERSION = "v1.0.0"