aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <[email protected]>2022-07-01 14:38:04 +0530
committerLibravatar Keshav Bhatt <[email protected]>2022-07-03 22:17:39 +0530
commit83cd6383c0999c30967c3a7427393d59fbc6dab2 (patch)
tree853414885284a9e1e62e8fc99467e031d33af7a9 /.github/workflows
parentf82dcc68cc1763cc204ddb555a263c4606b3c2cb (diff)
downloadwhatsie-83cd6383c0999c30967c3a7427393d59fbc6dab2.tar.gz
whatsie-83cd6383c0999c30967c3a7427393d59fbc6dab2.zip
feat(ci): add release workflowv4.7.0
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml34
1 files changed, 34 insertions, 0 deletions
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/[email protected]
+ 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/[email protected]
+ with:
+ path: VERSION.txt
+ write-mode: overwrite
+ contents: ${{steps.semrel.outputs.version}}
+ - name: Git Commit Changelog
+ uses: stefanzweifel/[email protected]
+ with:
+ commit_message: "docs(changelog): update cl & ver after release"
+ file_pattern: CHANGELOG.md VERSION.txt