Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Delete latest release action (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmattgray committed Jan 24, 2022
1 parent e646726 commit 5725665
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,13 @@ jobs:
charts_dir: helm

# Build github release
- name: Delete latest release
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const { owner, repo } = context.repo
await github.rest.git.deleteRef({ owner, repo, ref: 'tags/latest' })
- name: Build release version
uses: softprops/action-gh-release@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions helm/vitalam-service-template/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: vitalam-service-template
appVersion: '0.0.4'
appVersion: '0.0.5'
description: A Helm chart for vitalam-service-template
version: '0.0.4'
version: '0.0.5'
type: application
maintainers:
- name: digicatapult
Expand Down
2 changes: 1 addition & 1 deletion helm/vitalam-service-template/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ config:
image:
repository: ghcr.io/digicatapult/vitalam-service-template
pullPolicy: IfNotPresent
tag: 'v0.0.4'
tag: 'v0.0.5'
pullSecrets: ['ghcr-digicatapult']
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digicatapult/vitalam-service-template",
"version": "0.0.4",
"version": "0.0.5",
"description": "Service for VITALam",
"main": "app/index.js",
"scripts": {
Expand Down

0 comments on commit 5725665

Please sign in to comment.