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: Use correct shell variable in upload #53

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

matthewfeickert
Copy link
Member

@matthewfeickert matthewfeickert commented Jan 24, 2024

Resolves #52

  • Use the correct shell variable "LABEL_ARGS" to pass the lable args to the anaconda upload command.
  • Note that it is important that ${LABEL_ARGS} is NOT quoted during shell parameter expansion, else it will be treated as a file path to anaconda upload and not an argument.
    • e.g. This will trigger File "--label main " does not exist errors.

@matthewfeickert matthewfeickert self-assigned this Jan 24, 2024
@matthewfeickert matthewfeickert marked this pull request as draft January 24, 2024 01:09
@bsipocz
Copy link
Member

bsipocz commented Jan 24, 2024

feel free to ping me when this is ready to go in

@matthewfeickert matthewfeickert marked this pull request as ready for review January 24, 2024 01:31
* Use the correct shell variable "LABEL_ARGS" to pass the lable args to
  the `anaconda upload` command.
   - Amends PR #47
* Note that it is important that ${LABEL_ARGS} is NOT quoted during
  shell parameter expansion, else it will be treated as a file path to
  anaconda upload and not an argument.
   - e.g. This will trigger `File "--label main " does not exist`
     errors.
@matthewfeickert
Copy link
Member Author

@bsipocz this was my fault in PR #47. This is good to go now.

@bsipocz
Copy link
Member

bsipocz commented Jan 24, 2024

@bsipocz this was my fault in PR #47. This is good to go now.

hey, no worries, without CI it's very easy for things to slip through.

@bsipocz bsipocz merged commit 3eb3a42 into main Jan 24, 2024
2 checks passed
@bsipocz bsipocz deleted the fix/get-ci-passing branch January 24, 2024 01:39
@matthewfeickert
Copy link
Member Author

hey, no worries, without CI it's very easy for things to slip through.

Indeed. More motivation to find a way to have this be PR friendly and security safe in 2024.

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.

CI tests failing with Error: File "main" does not exist for labeled file upload
2 participants