Skip to content

Commit e6efc9e

Browse files
Update create_version.yml
1 parent 60f8d34 commit e6efc9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/create_version.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ jobs:
2828

2929
- name: Read merge counter from file
3030
id: read_counter
31-
run: echo "::set-output name=counter::$(cat counter.txt || echo '0')"
31+
run: echo "::set-output name=counter::$(cat .github/counter.txt || echo '0')"
3232

3333
- name: Increment merge counter
3434
id: increment_counter
3535
run: |
3636
counter=$((${{ steps.read_counter.outputs.counter }} + 1))
3737
echo "::set-output name=counter::$counter"
38+
echo $counter > .github/counter.txt
3839
3940
- name: Update version file with date and merge counter
4041
run: echo "3.0.0.${{ steps.current_date.outputs.date }}.${{ steps.increment_counter.outputs.counter }}" > VERSION.txt

0 commit comments

Comments
 (0)