Skip to content

Commit 558059f

Browse files
authored
Merge pull request #291 from detiber/prep-v0.3.11
🏃 Prep v0.3.11
2 parents ca4a80e + 84f5486 commit 558059f

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,24 @@ jobs:
4848
id: get_version
4949
run: |
5050
echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
51+
- name: Generate Release Notes
52+
run: |
53+
release_notes=$(gh api repos/{owner}/{repo}/releases/generate-notes -F tag_name=${{ github.ref }} --jq .body)
54+
echo 'RELEASE_NOTES<<EOF' >> $GITHUB_ENV
55+
echo "${release_notes}" >> $GITHUB_ENV
56+
echo 'EOF' >> $GITHUB_ENV
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
OWNER: ${{ github.repository_owner }}
60+
REPO: ${{ github.event.repository.name }}
5161
- name: Create Release
5262
id: create_release
5363
uses: actions/create-release@v1.1.4
5464
env:
5565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5666
with:
5767
tag_name: ${{ env.VERSION }}
68+
body: ${{ env.RELEASE_NOTES }}
5869
release_name: ${{ env.VERSION }}
5970
draft: false
6071
prerelease: false

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.3.10
1+
v0.3.11

config/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ bases:
1313
- default
1414
images:
1515
- name: docker.io/packethost/cluster-api-provider-packet:e2e # images with this name
16-
newTag: v0.3.10 # {"type":"string","x-kustomize":{"setter":{"name":"image-tag","value":"v0.3.10"}}}
16+
newTag: v0.3.11 # {"type":"string","x-kustomize":{"setter":{"name":"image-tag","value":"v0.3.11"}}}
1717
newName: docker.io/packethost/cluster-api-provider-packet # and this name

0 commit comments

Comments
 (0)