mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
Prospective fix for the upgrade version script
This commit is contained in:
parent
7315776d3e
commit
dcc9537213
1 changed files with 1 additions and 1 deletions
2
.github/workflows/updgrade_version.yaml
vendored
2
.github/workflows/updgrade_version.yaml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
|||
git ls-files | grep package.json | xargs sed -i 's/"version": ".*"/"version": "${{ github.event.inputs.new_version }}"/'
|
||||
|
||||
# VersionCheck
|
||||
sed -i "s/VersionCheck_[0-9]*_[0-9]*_[0-9]*;/VersionCheck_`echo ${{ github.event.inputs.new_version }} | sed "s/\([0-9]*\)\.\([0-9]*\).\([0-9]*\)/\1/"`_`echo ${{ github.event.inputs.new_version }} | sed "s/\([0-9]*\)\.\([0-9]*\).\([0-9]*\)/\2/"`_`echo ${{ github.event.inputs.new_version }} | sed "s/\([0-9]*\)\.\([0-9]*\).\([0-9]*\)/\3/"`/"
|
||||
sed -i "s/VersionCheck_[0-9]*_[0-9]*_[0-9]*;/VersionCheck_`echo ${{ github.event.inputs.new_version }} | sed "s/\([0-9]*\)\.\([0-9]*\).\([0-9]*\)/\1/"`_`echo ${{ github.event.inputs.new_version }} | sed "s/\([0-9]*\)\.\([0-9]*\).\([0-9]*\)/\2/"`_`echo ${{ github.event.inputs.new_version }} | sed "s/\([0-9]*\)\.\([0-9]*\).\([0-9]*\)/\3/"`;/" api/sixtyfps-rs/lib.rs
|
||||
|
||||
echo "Note that the version is not updated in the documentation and README yet"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue