aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-07-01 14:38:04 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-07-03 22:17:39 +0530
commit83cd6383c0999c30967c3a7427393d59fbc6dab2 (patch)
tree853414885284a9e1e62e8fc99467e031d33af7a9
parentf82dcc68cc1763cc204ddb555a263c4606b3c2cb (diff)
downloadwhatsie-83cd6383c0999c30967c3a7427393d59fbc6dab2.tar.gz
whatsie-83cd6383c0999c30967c3a7427393d59fbc6dab2.zip
feat(ci): add release workflowv4.7.0
-rw-r--r--.github/workflows/release.yml34
-rw-r--r--CHANGELOG.md36
-rw-r--r--VERSION.txt1
3 files changed, 71 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/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
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5d1792..d77e090 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,39 @@
+## 4.6.5 (2022-07-03)
+
+#### 🚧 Chores
+
+* **ci:** update release wf (#59) (f40ac9c9)
+
+
+## 4.6.3 (2022-07-03)
+
+#### 📄 Documentation
+
+* **changelog:** update changelog after release (7699d885)
+
+#### 🚧 Chores
+
+* **ci:** fix update file name (c0158c0d)
+
+
+## 4.6.2 (2022-07-03)
+
+#### 📄 Documentation
+
+* **changelog:** update changelog after release (c87524db)
+
+#### 🚧 Chores
+
+* **ci:** update version on release (d715c8eb)
+
+
+## 4.6.1 (2022-07-03)
+
+#### 🚧 Chores
+
+* **CI:** commit changelog on release (75b0cffe)
+
+
## Change log:
### 4.3
diff --git a/VERSION.txt b/VERSION.txt
new file mode 100644
index 0000000..d9167bb
--- /dev/null
+++ b/VERSION.txt
@@ -0,0 +1 @@
+4.6.5 \ No newline at end of file