refactor: scripts to apps
This commit is contained in:
@ -7,13 +7,13 @@ next_version=$(echo "${version}" | awk -F. -v OFS=. '{$NF += 1 ; print}')
|
||||
|
||||
echo "bumping client"
|
||||
cd "${git_root}/client"
|
||||
npm version "${next_version}" && npm i
|
||||
npm version "${next_version}"
|
||||
git add package-lock.json
|
||||
git add package.json
|
||||
|
||||
echo "bumping nix"
|
||||
cd "${git_root}"
|
||||
nix-update --flake --version "${next_version}" --subpackage trevstack-client trevstack
|
||||
nix-update --flake --version "${next_version}" --subpackage client default
|
||||
git add flake.nix
|
||||
|
||||
git commit -m "bump: v${version} -> v${next_version}"
|
||||
|
@ -35,7 +35,7 @@ fi
|
||||
if [ "${updated}" = true ]; then
|
||||
echo "updating nix hashes"
|
||||
cd "${git_root}"
|
||||
nix-update --flake --version=skip --subpackage trevstack-client trevstack
|
||||
nix-update --flake --version=skip --subpackage client default
|
||||
git add flake.nix
|
||||
git commit -m "build(nix): updated nix hashes"
|
||||
else
|
||||
|
Reference in New Issue
Block a user