Skip to content

Commit

Permalink
Push the branch to JReleaser and use a fixed version of JReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Feb 2, 2022
1 parent 4600fdc commit ce6254d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions devtools/cli/distribution/release-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ then
exit 1
fi

BRANCH=$2
if [ -z "$BRANCH" ]
then
echo "Must specify Quarkus branch"
exit 1
fi

DIST_DIR="$( dirname "${BASH_SOURCE[0]}" )"
pushd ${DIST_DIR}

Expand Down Expand Up @@ -35,9 +42,10 @@ tar -zcf ${JAVA_BINARY_DIR}.tar.gz ${JAVA_BINARY_DIR}
popd

export JRELEASER_PROJECT_VERSION=${VERSION}
export JRELEASER_BRANCH=main
export JRELEASER_BRANCH=${BRANCH}
export JRELEASER_CHOCOLATEY_GITHUB_BRANCH=${BRANCH}

jbang jreleaser@jreleaser full-release \
jbang org.jreleaser:jreleaser:1.0.0-M1 full-release \
--git-root-search \
-od target

Expand Down

0 comments on commit ce6254d

Please sign in to comment.