From 83cd6383c0999c30967c3a7427393d59fbc6dab2 Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Fri, 1 Jul 2022 14:38:04 +0530 Subject: feat(ci): add release workflow --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/release.yml (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c6fd639 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: Release + +on: + push: + branches: [main] + +jobs: + Release: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout source + uses: actions/checkout@v2 + - name: Go Semantic Release + uses: go-semantic-release/action@v1.17.0 + id: semrel + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + changelog-file: "CHANGELOG.md" + changelog-generator-opt: "emojis=true" + force-bump-patch-version: true + prepend: true + - name: Update Version file + uses: DamianReeves/write-file-action@v1.0 + with: + path: VERSION.txt + write-mode: overwrite + contents: ${{steps.semrel.outputs.version}} + - name: Git Commit Changelog + uses: stefanzweifel/git-auto-commit-action@v4.14.1 + with: + commit_message: "docs(changelog): update cl & ver after release" + file_pattern: CHANGELOG.md VERSION.txt -- cgit v1.2.3 From 6f134db2627c237313833bb8551104d8918911df Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Sat, 23 Jul 2022 00:46:26 +0530 Subject: chore(ci): disable auto release and version file --- .github/workflows/release.yml | 11 ++--------- VERSION.txt | 1 - 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 VERSION.txt (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6fd639..cdbdd7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,7 @@ name: Release on: - push: - branches: [main] + workflow_dispatch: jobs: Release: @@ -21,14 +20,8 @@ jobs: changelog-generator-opt: "emojis=true" force-bump-patch-version: true prepend: true - - name: Update Version file - uses: DamianReeves/write-file-action@v1.0 - with: - path: VERSION.txt - write-mode: overwrite - contents: ${{steps.semrel.outputs.version}} - name: Git Commit Changelog uses: stefanzweifel/git-auto-commit-action@v4.14.1 with: commit_message: "docs(changelog): update cl & ver after release" - file_pattern: CHANGELOG.md VERSION.txt + file_pattern: CHANGELOG.md diff --git a/VERSION.txt b/VERSION.txt deleted file mode 100644 index 0b87099..0000000 --- a/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -4.7.2 \ No newline at end of file -- cgit v1.2.3 From 41225b19f36e34bcbf9d08095b4e9b3b497be060 Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Thu, 18 May 2023 00:17:36 +0530 Subject: chore: update workflow and changelog --- .github/workflows/release.yml | 4 ++-- CHANGELOG.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdbdd7b..e1c3281 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: contents: write steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Go Semantic Release uses: go-semantic-release/action@v1.17.0 id: semrel @@ -21,7 +21,7 @@ jobs: force-bump-patch-version: true prepend: true - name: Git Commit Changelog - uses: stefanzweifel/git-auto-commit-action@v4.14.1 + uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: "docs(changelog): update cl & ver after release" file_pattern: CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d43aff..4a929c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## 4.14.0 (2023-05-17) + +#### 🎁 Feature + +* minor fixes + code cleanup (5f10a0f9) + +#### 📄 Documentation + +* **changelog:** update cl & ver after release (b4b5dc33) + +#### 🚧 Chores + +* bump version to 4.14 (c235b8ae) + + ## 4.13.0 (2023-03-22) #### 🎁 Feature -- cgit v1.2.3