-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: release script always exiting with code 1
- Loading branch information
1 parent
78995d4
commit a250ae2
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
#!/bin/bash | ||
set -e -o pipefail | ||
# usage: ./release minor -n | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-vuetify-app) || \ | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-vuetify-app) || {\ | ||
echo -e "\033[31m There are unreleased changes to the solara-vuetify-app package.\n Please release the javascript package before Solara by running \n\n \ | ||
\033[0m (cd packages/solara-vuetify-app && ./release.sh <patch | minor | major> -n)\n"; \ | ||
exit 1 | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-vuetify3-app) || \ | ||
exit 1;} | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-vuetify3-app) || {\ | ||
echo -e "\033[31m There are unreleased changes to the solara-vuetify3-app package.\n Please release the javascript package before Solara by running \n\n \ | ||
\033[0m (cd packages/solara-vuetify3-app && ./release.sh <patch | minor | major> -n)\n"; \ | ||
exit 1 | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-widget-manager) || \ | ||
exit 1;} | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-widget-manager) || {\ | ||
echo -e "\033[31m There are unreleased changes to the solara-widget-manager package.\n Please release the javascript package before Solara by running \n\n \ | ||
\033[0m (cd packages/solara-vuetify-app && ./release.sh <patch | minor | major> -n) && \ | ||
(cd packages/solara-vuetify3-app && ./release.sh <patch | minor | major> -n)\n"; \ | ||
exit 1 | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-widget-manager8) || \ | ||
exit 1;} | ||
(git diff --quiet master @widgetti/[email protected] -- packages/solara-widget-manager8) || {\ | ||
echo -e "\033[31m There are unreleased changes to the solara-widget-manager8 package.\n Please release the javascript package before Solara by running \n\n \ | ||
\033[0m (cd packages/solara-vuetify-app && ./release.sh <patch | minor | major> -n) && \ | ||
(cd packages/solara-vuetify3-app && ./release.sh <patch | minor | major> -n)\n"; \ | ||
exit 1 | ||
exit 1;} | ||
|
||
version=$(bump2version --dry-run --list $* | grep new_version | sed -r s,"^.*=",,) | ||
echo Version tag v$version | ||
|