Skip to content

Commit

Permalink
print revision
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettj12 committed Oct 18, 2023
1 parent 56d3eea commit 0110e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ jobs:
env:
CHANNEL: ${{ needs.channel.outputs.test }}
run: |
set -x
TRACK=$(echo $CHANNEL | cut -d '/' -f 1)
REVISION=$(charmcraft status $CHARM_NAME --format json |
jq ".[] | select(.track == \"$TRACK\") | .mappings[0].releases[] | select(.channel == \"$CHANNEL\") | .revision")
Expand Down

0 comments on commit 0110e57

Please sign in to comment.