Skip to content

Commit 7b7b6a4

Browse files
authored
Add 'actually create a release' step to release job (#269)
1 parent 7495656 commit 7b7b6a4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/upload-artifacts.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,20 @@ jobs:
9494
9595
aws s3 --endpoint-url=https://storage.yandexcloud.net \
9696
cp ./charts/index.yaml s3://charts.ydb.tech/index.yaml
97+
98+
- name: append-artifacts-info-to-release-notes
99+
run: |
100+
echo "New docker images are available from:" >> .changes/v$VERSION.md
101+
echo "- ydbplatform/ydb-kubernetes-operator:$VERSION" >> .changes/v$VERSION.md
102+
echo "- cr.yandex/yc/ydb-kubernetes-operator:$VERSION" >> .changes/v$VERSION.md
103+
echo "" >> .changes/v$VERSION.md
104+
105+
echo "New helm chart `ydb-operator`, version $VERSION is available from charts.ydb.tech." >> .changes/v$VERSION.md
106+
107+
- name: create-github-release
108+
uses: softprops/action-gh-release@v1
109+
with:
110+
body_path: .changes/v${{ env.VERSION }}.md
111+
tag_name: ${{ env.VERSION }}
112+
env:
113+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)