Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # Required for creating releases/tags
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for semantic-release to access all commits

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install dependencies
run: npm ci

- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ tags
# End of https://www.toptal.com/developers/gitignore/api/helm,vim,linux

.vscode/
node_modules/
12 changes: 12 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
branches:
- main
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@semantic-release/exec"
- prepareCmd: sed -i.bak 's/^version:.*/version:${nextRelease.version}/' Chart.yaml && rm -f Chart.yaml.bak
- "@semantic-release/github"
- - "@semantic-release/git"
- assets:
- Chart.yaml
message: "chore(release): ${nextRelease.version} [skip ci]"
3 changes: 2 additions & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ keywords:
- confidential-computing
- confidential-containers
name: trustee
version: 0.0.1
# DO NOT EDIT VERSION HERE, IT IS AUTO-GENERATED BY SEMANTIC-RELEASE
version: 0.0.2
Loading
Loading