We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 337f81b commit 5f763daCopy full SHA for 5f763da
.github/workflows/bump-version.yml
@@ -1,6 +1,11 @@
1
name: Bump Version
2
on:
3
workflow_dispatch:
4
+ inputs:
5
+ force:
6
+ description: 'force release'
7
+ required: false
8
+ default: '0'
9
schedule:
10
- cron: '0 0 * * *'
11
jobs:
@@ -30,7 +35,12 @@ jobs:
30
35
--grep='^revert:' \
31
36
--grep='^chore:' | awk 'END{print NR}')
32
37
echo "steps.changes.outputs.count = $COUNT"
33
- echo "::set-output name=count::$COUNT"
38
+ FORCE=${{ github.event.inputs.force }}
39
+ if [[ "$FORCE" = "1" ]]; then
40
+ echo "::set-output name=count::1"
41
+ else
42
+ echo "::set-output name=count::$COUNT"
43
+ fi
34
44
- name: Bump version and push tag
45
id: tag_version
46
uses: mathieudutour/[email protected]
0 commit comments