You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```
~/Cloud/Code/libsession-util-nodejs$ ./prepare_release.sh
Package: 0.5.9; Commit: fe47f7e228a4affc77bf0729f40df408b4f3d8c2
Error: Version mismatch! package.json version is 0.5.9, but src/version.h has 0.5.10. Build the project first before packaging 'yarn install'
~/Cloud/Code/libsession-util-nodejs$ ./prepare_release.sh
Package: 0.5.9; Commit: fe47f7e228a4affc77bf0729f40df408b4f3d8c2
Error: Version mismatch! Git commit is fe47f7e228a4affc77bf0729f40df408b4f3d8c2, but src/version.h has ee47f7e228a4affc77bf0729f40df408b4f3d8c2. Build the project first before packaging 'yarn install'
```
if [ "$PACKAGE_VERSION"!="$HEADER_PACKAGE_VERSION" ];then
25
+
echo"Error: Version mismatch! package.json version is $PACKAGE_VERSION, but src/version.h has $HEADER_PACKAGE_VERSION. Build the project first before packaging 'yarn install'"
26
+
exit 1
27
+
fi
28
+
29
+
if [ "$GIT_COMMIT"!="$HEADER_GIT_COMMIT" ];then
30
+
echo"Error: Version mismatch! Git commit is $GIT_COMMIT, but src/version.h has $HEADER_GIT_COMMIT. Build the project first before packaging 'yarn install'"
31
+
exit 1
32
+
fi
33
+
18
34
echo"Is '$PACKAGE_VERSION' the correct version? If yes, press 'y' to create the release. Press anything else to exit."
0 commit comments