Skip to content

Commit

Permalink
Change to release workflow
Browse files Browse the repository at this point in the history
helgoboss committed Apr 11, 2024
1 parent 5c33714 commit dfb79ce
Showing 4 changed files with 15 additions and 36 deletions.
39 changes: 9 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@ name: Create release

on:
push:
branches:
- release
tags:
- 'v*'

jobs:
publish-tauri:
@@ -72,12 +72,6 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: npm run tauri build -- ${{ matrix.settings.args }}

# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: ${{ matrix.settings.dest }}
# path: ${{ matrix.settings.src }}

- name: Move main asset
shell: bash
run: |
@@ -91,31 +85,16 @@ jobs:
mv target/release/bundle/msi/reaboot_*_x64_en-US.msi "./release-assets/reaboot-x64.msi"
mv target/release/bundle/nsis/reaboot_*_x64-setup.exe "./release-assets/reaboot-x64-setup.exe"
# - name: Create release
# shell: bash
# env:
# GITHUB_TOKEN: ${{ github.TOKEN }}
# run: |
# gh release create --draft --prerelease --target v0.0.0
- name: Create release
shell: bash
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
run: |
gh release create --draft --prerelease --target ${{ github.ref_name }}
- name: Upload all assets
shell: bash
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
run: |
gh release upload v0.0.0 --clobber ./release-assets/*
# - uses: tauri-apps/tauri-action@v0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
# APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
# APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
# APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
# with:
# projectPath: gui
# args: ${{ matrix.settings.args }}
# tagName: v__VERSION__
# releaseName: 'v__VERSION__'
gh release upload ${{ github.ref_name }} --clobber ./release-assets/*
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ resolver = "2"
members = ["cli", "core", "gui/src-tauri", "reapack"]

[workspace.package]
version = "0.0.0"
version = "0.1.0"
description = "ReaBoot"
edition = "2021"
authors = ["Benjamin Klum <benjamin.klum@helgoboss.org>"]
2 changes: 1 addition & 1 deletion gui/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reaboot-gui"
description = "ReaBoot GUI - A graphical user interface for ReaBoot"
description = "ReaBoot - a convenient all-in-one online installer for REAPER, ReaPack and arbitrary packages."
version.workspace = true
edition.workspace = true
authors.workspace = true

0 comments on commit dfb79ce

Please sign in to comment.