mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
cd: fix github versioning scheme
This commit is contained in:
parent
7ad67fa3fa
commit
c1a105a1ff
2
.github/workflows/spotube-release-binary.yml
vendored
2
.github/workflows/spotube-release-binary.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
choco install sed make yq -y
|
choco install sed make yq -y
|
||||||
yq -i '.version |= sub("\+\d+", "-${{ inputs.channel }}+")' pubspec.yaml
|
yq -i '.version |= sub("\+\d+", "-${{ inputs.channel }}+")' pubspec.yaml
|
||||||
yq -i '.version += strenv(GITHUB_RUN_NUMBER)' pubspec.yaml
|
yq -i '.version += strenv(GITHUB_RUN_NUMBER)' pubspec.yaml
|
||||||
"BUILD_VERSION=${{ inputs.version }}-${{ inputs.channel }}+${{ github.run_number }}" >> $env:GITHUB_ENV
|
echo "BUILD_VERSION=${{ inputs.version }}+${{ inputs.channel }}.${{ github.run_number }}" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: BUILD_VERSION Env (stable)
|
- name: BUILD_VERSION Env (stable)
|
||||||
|
Loading…
Reference in New Issue
Block a user