2023-01-05 22:31:10 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
VERSION=$1
|
2023-05-07 15:54:01 +08:00
|
|
|
echo "export const version = '$VERSION';" > version.ts
|
2023-01-05 22:31:10 +08:00
|
|
|
cd desktop; npm version $VERSION; cd ..
|
|
|
|
git commit -am $VERSION
|
|
|
|
git tag $VERSION
|
|
|
|
git push && git push --tags
|