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

Fix missing command arguments #17

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

fmigneault
Copy link
Contributor

Follow-up to #16, adding the missing parameters to the commands so they are employed when called as action.

@vsoch
Copy link
Contributor

vsoch commented Dec 21, 2024

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}"
Copy link
Contributor

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}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants