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: Shellcheck error and out of date orb publish context #109

Merged
merged 2 commits into from
Oct 13, 2022
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 .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ workflows:
requires:
[orb-tools/lint, orb-tools/review, orb-tools/pack, shellcheck/check]
# Use a context to hold your publishing token.
context: orb-publishing
context: orb-publisher
filters: *filters
# Triggers the next workflow in the Orb Development Kit.
- orb-tools/continue:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ workflows:
- install-on-machine
- install-on-node
- install-from-env-var
context: orb-publishing
context: orb-publisher
filters:
branches:
ignore: /.*/
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/install-ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ PARAM_RUBY_VERSION=$(eval echo "${PARAM_VERSION}")
rvm install "$PARAM_RUBY_VERSION"
rvm use "$PARAM_RUBY_VERSION"

readonly ruby_path="$(rvm $PARAM_RUBY_VERSION 1> /dev/null 2> /dev/null && rvm env --path)"
printf '%s\n' "source $ruby_path" >> $BASH_ENV
RUBY_PATH="$(rvm $PARAM_RUBY_VERSION 1> /dev/null 2> /dev/null && rvm env --path)"
printf '%s\n' "source $RUBY_PATH" >> $BASH_ENV