Skip to content

Commit 6b52b47

Browse files
Fix release workflow (#203)
Data platform workflows `32.1.0` introduced new requirements to the release workflow
1 parent 9389e79 commit 6b52b47

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ on:
88
- 2/edge
99

1010
jobs:
11+
tag:
12+
name: Create charm refresh compatibility version git tag
13+
uses: canonical/data-platform-workflows/.github/workflows/tag_charm_edge.yaml@v32.1.0
14+
with:
15+
track: '2'
16+
permissions:
17+
contents: write # Needed to create git tag
18+
1119
ci-tests:
1220
name: Tests
1321
uses: ./.github/workflows/ci.yaml
@@ -18,10 +26,11 @@ jobs:
1826
release:
1927
name: Release charm
2028
needs:
29+
- tag
2130
- ci-tests
22-
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v32.1.0
31+
uses: canonical/data-platform-workflows/.github/workflows/release_charm_edge.yaml@v32.1.0
2332
with:
24-
channel: 2/edge
33+
track: ${{ needs.tag.outputs.track }}
2534
artifact-prefix: ${{ needs.ci-tests.outputs.artifact-prefix }}
2635
secrets:
2736
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}

0 commit comments

Comments
 (0)