Remove now unused release script (#17375)
This commit is contained in:
parent
4a96afb374
commit
55fee7c5b7
1 changed files with 0 additions and 53 deletions
53
release.sh
53
release.sh
|
@ -1,53 +0,0 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
DIR="$PWD"
|
||||
source release-details
|
||||
|
||||
echo "Version: $VERSION"
|
||||
|
||||
echo "------------------------------------------------------------------------------------------------------------"
|
||||
echo "Building:"
|
||||
echo ""
|
||||
|
||||
mvn -Pgpg,jboss-release,distribution-downloads,nexus-staging -DskipTests -DskipTestsuite -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy
|
||||
|
||||
|
||||
echo "------------------------------------------------------------------------------------------------------------"
|
||||
echo "Create tag:"
|
||||
echo ""
|
||||
|
||||
git tag $VERSION
|
||||
git push origin $VERSION
|
||||
|
||||
|
||||
echo "------------------------------------------------------------------------------------------------------------"
|
||||
echo "Upload to GitHub releases:"
|
||||
echo ""
|
||||
|
||||
hub release create -m "$VERSION" $VERSION
|
||||
cd distribution/downloads/target/$VERSION
|
||||
|
||||
for i in *; do
|
||||
echo "Uploading $i"
|
||||
hub release edit -a $i -m "" $VERSION
|
||||
done
|
||||
|
||||
|
||||
echo "------------------------------------------------------------------------------------------------------------"
|
||||
echo "NPM release:"
|
||||
echo ""
|
||||
|
||||
TMP=`mktemp -d`
|
||||
cd $TMP
|
||||
unzip $DIR/distribution/adapters/js-adapter-npm-zip/target/keycloak-js-adapter-npm-dist-$VERSION.zip
|
||||
cd keycloak-js-adapter-npm-dist-$VERSION
|
||||
|
||||
npm publish
|
||||
|
||||
cd $DIR
|
||||
rm -rf $TMP
|
||||
|
||||
|
||||
echo "------------------------------------------------------------------------------------------------------------"
|
||||
echo "Done"
|
||||
echo "------------------------------------------------------------------------------------------------------------"
|
Loading…
Reference in a new issue