Skip to content

Commit 5ea0996

Browse files
committed
chore: add CI to publish
1 parent f5dca86 commit 5ea0996

6 files changed

Lines changed: 74 additions & 25 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: 'publish'
2+
3+
# This will trigger the action on each push to the `release` branch.
4+
on:
5+
push:
6+
branches:
7+
- "releases/**"
8+
9+
jobs:
10+
publish-tauri:
11+
permissions:
12+
contents: write
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
platform: [macos-latest, ubuntu-20.04, windows-latest, macos-latest-xlarge]
17+
18+
runs-on: ${{ matrix.platform }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: setup node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
27+
- name: install Rust stable
28+
uses: dtolnay/rust-toolchain@stable
29+
30+
- name: install dependencies (ubuntu only)
31+
if: matrix.platform == 'ubuntu-20.04'
32+
run: |
33+
sudo apt-get update
34+
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
35+
36+
- name: install frontend dependencies
37+
run: npm install
38+
39+
- uses: tauri-apps/tauri-action@v0
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
with:
43+
tagName: helmad-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
44+
releaseName: 'helmad v__VERSION__'
45+
releaseBody: 'New helmad release.'
46+
releaseDraft: true
47+
prerelease: false

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Potential future features:
1414
- download and use different Helm CLI versions
1515
- publish installers, executables for different operating systems from CI pipelines
1616

17-
# Instructions
17+
You can download installers from the Github releases.
18+
19+
# Development Instructions
1820

1921
You have to have Rust (including Cargo) and Node installed.
2022

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "helmad",
33
"private": true,
4-
"version": "0.0.0",
4+
"version": "0.0.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/Cargo.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "app"
3-
version = "0.1.0"
4-
description = "A Tauri App"
5-
authors = ["you"]
6-
license = ""
7-
repository = ""
8-
default-run = "app"
2+
name = "helmad"
3+
version = "0.0.1"
4+
description = "IDE for developing Kubernetes Helm charts."
5+
authors = ["Tasko Olevski"]
6+
license = "Apache-2.0"
7+
repository = "https://github.com/olevski/helmad"
8+
default-run = "helmad"
99
edition = "2021"
1010
rust-version = "1.60"
1111

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"package": {
99
"productName": "helmad",
10-
"version": "0.1.0"
10+
"version": "0.0.1"
1111
},
1212
"tauri": {
1313
"allowlist": {

0 commit comments

Comments
 (0)