Skip to content

Commit

Permalink
[PRMT-2599] Remove verbose/debug on release publication
Browse files Browse the repository at this point in the history
  • Loading branch information
danmoorenhs committed Mar 15, 2022
1 parent 661322a commit 473ed85
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tasks
Original file line number Diff line number Diff line change
Expand Up @@ -127,25 +127,22 @@ case "${command}" in
releaser::bump_changelog_version "$2" "$3"
;;
verify_version)
set -x
releaser::verify_release_ready
;;
release)
set -x
releaser::verify_release_ready
setup_github_credentials
releaser::git_tag_from_changelog
;;
publish)
set -x
# publish the just released version
setup_github_credentials
export GITHUB_TOKEN=$(echo $GITHUB_CREDENTIALS | cut -d ":" -f 2)
releaser::prepare_github_release_bin
echo releasing version $AWS_HELPERS_VERSION aws-helpers and redaction utils
GITHUB_USER=nhsconnect
GITHUB_REPO=prm-deductions-support-infra
$GHRELEASE_BIN --verbose release \
$GHRELEASE_BIN release \
--user $GITHUB_USER \
--repo $GITHUB_REPO \
--tag $AWS_HELPERS_VERSION \
Expand All @@ -158,21 +155,21 @@ case "${command}" in
sleep 2
done

$GHRELEASE_BIN --verbose upload \
$GHRELEASE_BIN upload \
--user $GITHUB_USER \
--repo $GITHUB_REPO \
--tag $AWS_HELPERS_VERSION \
--name "aws-helpers" \
--file utils/aws-helpers

$GHRELEASE_BIN --verbose upload \
$GHRELEASE_BIN upload \
--user $GITHUB_USER \
--repo $GITHUB_REPO \
--tag $AWS_HELPERS_VERSION \
--name "redactor" \
--file utils/redactor

$GHRELEASE_BIN --verbose upload \
$GHRELEASE_BIN upload \
--user $GITHUB_USER \
--repo $GITHUB_REPO \
--tag $AWS_HELPERS_VERSION \
Expand Down

0 comments on commit 473ed85

Please sign in to comment.