Created
June 16, 2020 17:29
-
-
Save josiahhaswell/3821683c5d63ca6babfd4bb294c753a9 to your computer and use it in GitHub Desktop.
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
- name: Generate Build Number | |
id: buildnumber | |
uses: einaregilsson/build-number@v2 | |
with: | |
token: ${{ secrets.github_token }} | |
prefix: zephyr | |
# Accessible via ${{ steps.finalVersion.outputs.result }} | |
- name: Set Final Version Number | |
id: finalVersion | |
run: | | |
echo '::set-output name=result::$CURRENT_MAJOR_VERSION.$CURRENT_MINOR_VERSION.$BUILD_NUMBER.Final' | |
- name: Generate Next Number | |
id: nextbuildnumber | |
uses: einaregilsson/build-number@v2 | |
with: | |
token: ${{ secrets.github_token }} | |
prefix: zephyr | |
# Accessible via ${{ steps.snapshotVersion.outputs.result }} | |
- name: Set Next Snapshot Version Number | |
id: snapshotVersion | |
run: | | |
echo '::set-output name=result::$CURRENT_MAJOR_VERSION.$CURRENT_MINOR_VERSION.$BUILD_NUMBER-SNAPSHOT' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment