-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ed79eb
commit 2790d44
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,16 +24,17 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: '0' | ||
- name: Minor version for each merge | ||
id: taggerDryRun | ||
uses: anothrNick/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
WITH_V: true | ||
DRY_RUN: true | ||
- name: echo new tag | ||
run: | | ||
echo "The next tag version will be: ${{ steps.taggerDryRun.outputs.new_tag }}" | ||
- name: Read current version | ||
id: read_version | ||
run: echo "::set-output name=version::$(cat version.txt)" | ||
|
||
- name: Increment version | ||
id: increment_version | ||
run: echo "::set-output name=next_version::v$(echo "${{ steps.read_version.outputs.version }}" | awk -F '.' '{print $1"."$2"."$3+1}')" | ||
|
||
- name: Save incremented version | ||
run: echo "${{ steps.increment_version.outputs.next_version }}" > version.txt | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
|
Empty file.