-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix missing command arguments #17
base: main
Are you sure you want to change the base?
Conversation
This looks good - I'll need to squash and merge. You might consider in the future doing PRs from a feature branch (and not main). What happens is that when commits are squashed and merged, all of your sudden your main branch will have commits that upstream does not, and they show up in PRs as they do here when they are in fact old commits. Generally speaking your main branch should always be in sync with upstream's main branch, so this is an erroneous state. |
run: | | ||
command="python ${{ github.action_path }}/scripts/deploy.py upload ${archive} --version ${version}" | ||
if [[ "${doi}" != "" ]]; then | ||
command="$command --doi ${doi}" | ||
fi | ||
if [[ "${title}" != "" ]]; then | ||
command="$command --title ${title}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this likely to be more than one word and warrant quotes?
command="$command --title ${title}" | ||
fi | ||
if [[ "${description}" != "" ]]; then | ||
command="$command --description ${description}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
Follow-up to #16, adding the missing parameters to the commands so they are employed when called as action.