Skip to content

Commit

Permalink
Remove test from create release script. (#1172)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
  • Loading branch information
artursouza authored Dec 6, 2024
1 parent c21e283 commit 1b37a1c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 deletions .github/scripts/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,26 +84,26 @@ fi
echo "$RELEASE_BRANCH branch is ready."

if [ `git rev-parse --verify $RELEASE_TAG 2>/dev/null` ]; then
echo "$RELEASE_TAG tag already exists, aborting ..."
exit 2
fi

${script_dir}/update_sdk_version.sh $REL_VERSION
git commit -s -m "Release $REL_VERSION" -a
if [ "$VARIANT" = "" ]; then
echo "Generating docs ..."
${script_dir}/update_docs.sh $REL_VERSION
git commit -s -m "Generate updated javadocs for $REL_VERSION" -a
fi
git push origin $RELEASE_BRANCH
echo "$RELEASE_TAG tag already exists, checking it out ..."
git checkout $RELEASE_TAG
else
${script_dir}/update_sdk_version.sh $REL_VERSION
git commit -s -m "Release $REL_VERSION" -a
if [ "$VARIANT" = "" ]; then
echo "Generating docs ..."
${script_dir}/update_docs.sh $REL_VERSION
git commit -s -m "Generate updated javadocs for $REL_VERSION" -a
fi
git push origin $RELEASE_BRANCH

echo "Tagging $RELEASE_TAG ..."
git tag $RELEASE_TAG
echo "$RELEASE_TAG is tagged."
echo "Tagging $RELEASE_TAG ..."
git tag $RELEASE_TAG
echo "$RELEASE_TAG is tagged."

echo "Pushing $RELEASE_TAG tag ..."
git push origin $RELEASE_TAG
echo "$RELEASE_TAG tag is pushed."
echo "Pushing $RELEASE_TAG tag ..."
git push origin $RELEASE_TAG
echo "$RELEASE_TAG tag is pushed."
fi

if [ "$VARIANT" = "" ]; then
git clean -xdf
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/update_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ rm -f daprdocs/content/en/java-sdk-docs/_index.mdbak || echo
rm -f daprdocs/content/en/java-sdk-docs/spring-boot/_index.md/_index.mdbak || echo

rm -rf docs
./mvnw -Dmaven.test.skip=false -Djacoco.skip=true clean install
./mvnw site-deploy
./mvnw -Dmaven.test.skip=true -Djacoco.skip=true clean install
./mvnw -Dmaven.test.skip=true -Djacoco.skip=true site-deploy

0 comments on commit 1b37a1c

Please sign in to comment.