Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh18864 fix name of action; remove need to... #1836

Merged
merged 2 commits into from
Feb 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Workflow performs a release of che docs
name: Release Che Dashboard
name: Release Che Docs
on:
workflow_dispatch:
inputs:
Expand Down
8 changes: 4 additions & 4 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,16 +20,16 @@ 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
--no-commit, -n do not commit changes to branches
"
}

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
Expand Down