aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yml11
-rw-r--r--VERSION.txt1
2 files changed, 2 insertions, 10 deletions
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