mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-08 00:39:48 -06:00
move version into a package so it can be referenced by external code.
This commit is contained in:
2
.github/workflows/cd-release-pgo.yaml
vendored
2
.github/workflows/cd-release-pgo.yaml
vendored
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Update dolt version command
|
||||
run: sed -i -e 's/ Version = ".*"/ Version = "'"$NEW_VERSION"'"/' "$FILE"
|
||||
env:
|
||||
FILE: ${{ format('{0}/go/cmd/dolt/dolt.go', github.workspace) }}
|
||||
FILE: ${{ format('{0}/go/cmd/dolt/doltversion/version.go', github.workspace) }}
|
||||
NEW_VERSION: ${{ needs.format-version.outputs.version }}
|
||||
- name: Set minver TBD to version
|
||||
run: sed -i -e 's/minver:"TBD"/minver:"'"$NEW_VERSION"'"/' "$FILE"
|
||||
|
||||
Reference in New Issue
Block a user