From e798e7f1101dc90c5584044b87b58199903e1f6a Mon Sep 17 00:00:00 2001 From: nickboldt Date: Wed, 3 Feb 2021 11:51:47 -0500 Subject: [PATCH] gh18864 fix name of action; remove need to pass in --repo param since this script is different from other repos Change-Id: I8cca160ca762d722c517c3fb11b6672fee039b97 Signed-off-by: nickboldt --- .github/workflows/release.yml | 2 +- make-release.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35e0c220e2..22f6c88c99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # This Workflow performs a release of che docs -name: Release Che Dashboard +name: Release Che Docs on: workflow_dispatch: inputs: diff --git a/make-release.sh b/make-release.sh index aaf7407527..e74f7e1985 100755 --- a/make-release.sh +++ b/make-release.sh @@ -6,11 +6,11 @@ # set to 1 to actually trigger changes in the release branch TAG_RELEASE=0 docommit=1 # by default DO commit the change +REPO=git@github.com:eclipse/che-docs while [[ "$#" -gt 0 ]]; do case $1 in '-t'|'--trigger-release') TAG_RELEASE=1; docommit=1; shift 0;; - '-r'|'--repo') REPO="$2"; shift 1;; '-v'|'--version') VERSION="$2"; shift 1;; '-n'|'--nocommit'|'--no-commit') docommit=0; shift 0;; esac @@ -20,8 +20,8 @@ done usage () { echo " -Usage: $0 --repo [GIT REPO TO EDIT] --version [VERSION TO RELEASE] -Example: $0 --repo git@github.com:eclipse/che-docs --version 7.25.2 +Usage: $0 --version [VERSION TO RELEASE] +Example: $0 --version 7.25.2 -t Options: --trigger-release, -t tag this release @@ -29,7 +29,7 @@ Options: " } -if [[ ! ${VERSION} ]] || [[ ! ${REPO} ]]; then +if [[ ! ${VERSION} ]]; then usage exit 1 else # clone into a temp folder so we don't collide with local changes to this script