Skip to content

Commit

Permalink
allow overriding charm name in tokengen script
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettj12 committed Oct 18, 2023
1 parent 57d4f16 commit 2818477
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/charmcraft-tokengen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# Generate a Charmcraft token to use in the CI pipeline
# The token will be outputted to the file 'charmcraft_token'
# It should be added as a GitHub secret under the name 'CHARMCRAFT_AUTH'
CHARM_NAME=${CHARM_NAME:-juju-controller}
charmcraft login --export=charmcraft_token \
--charm=juju-qa-controller \
--charm="$CHARM_NAME" \
--permission=package-manage-releases \
--permission=package-manage-revisions \
--permission=package-view \
Expand Down

0 comments on commit 2818477

Please sign in to comment.