Skip to content

Commit 147fe7f

Browse files
authored
Merge pull request #48 from ONSdigital/replace-create-release
RAS-1011 Replace unmaintained actions/create-release and update google-github-actions/setup-gcloud
2 parents e1b2f24 + 64b0a40 commit 147fe7f

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
credentials_json: ${{ secrets.GCR_KEY }}
3838
- name: Setup Google Cloud SDK
39-
uses: google-github-actions/setup-gcloud@v0
39+
uses: google-github-actions/setup-gcloud@v2
4040
- run: |
4141
gcloud auth configure-docker
4242
- name: pr docker tag
@@ -152,18 +152,11 @@ jobs:
152152
cp $IMAGE-${{ env.HELM_VERSION }}.tgz $IMAGE-latest.tgz
153153
gsutil cp $IMAGE-*.tgz gs://$ARTIFACT_BUCKET/$IMAGE/
154154
155-
- uses: actions/create-release@v1
155+
- name: Create Release
156156
if: github.ref == 'refs/heads/main'
157157
env:
158158
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159-
with:
160-
tag_name: ${{ env.version }}
161-
release_name: ${{ env.version }}
162-
body: |
163-
Automated release
164-
${{ env.version }}
165-
draft: false
166-
prerelease: false
159+
run: gh release create ${{ env.version }} --title ${{ env.version }} --notes ${{ env.version }}
167160

168161
- name: CD hook
169162
if: github.ref == 'refs/heads/main'

_infra/helm/csv-worker/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ type: application
1414

1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
17-
version: 1.0.43
17+
version: 1.0.44
1818

1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application.
21-
appVersion: 1.0.43
21+
appVersion: 1.0.44

0 commit comments

Comments
 (0)