We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60f8d34 commit e6efc9eCopy full SHA for e6efc9e
.github/workflows/create_version.yml
@@ -28,13 +28,14 @@ jobs:
28
29
- name: Read merge counter from file
30
id: read_counter
31
- run: echo "::set-output name=counter::$(cat counter.txt || echo '0')"
+ run: echo "::set-output name=counter::$(cat .github/counter.txt || echo '0')"
32
33
- name: Increment merge counter
34
id: increment_counter
35
run: |
36
counter=$((${{ steps.read_counter.outputs.counter }} + 1))
37
echo "::set-output name=counter::$counter"
38
+ echo $counter > .github/counter.txt
39
40
- name: Update version file with date and merge counter
41
run: echo "3.0.0.${{ steps.current_date.outputs.date }}.${{ steps.increment_counter.outputs.counter }}" > VERSION.txt
0 commit comments