Skip to content

Commit

Permalink
Allow uncommited changes when publishing with release-plz (#78)
Browse files Browse the repository at this point in the history
* Pin to specific release-plz version
* Allow uncommitted changes for release-plz
  • Loading branch information
mre authored Apr 30, 2024
1 parent 096c8db commit 0f3879a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-tauri.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release
name: Publish Tauri
on:
push:
tags:
- 'v*'
- "v*"
workflow_dispatch:

jobs:
Expand All @@ -27,13 +27,13 @@ jobs:

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
- name: install frontend dependencies
run: yarn install # change this to npm or pnpm depending on which one you use
working-directory: ${{env.working-directory}}
Expand All @@ -47,4 +47,4 @@ jobs:
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false
projectPath: ${{env.working-directory}}
projectPath: ${{env.working-directory}}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release-plz
name: Release

permissions:
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-on-pr-desktop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Test on PR for Desktop"
name: Test Tauri

on: [pull_request]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-on-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Test on PR with Earthly"
name: Test with Earthly
on: [pull_request]

env:
Expand Down
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
resolver = "2"
members = ["crates/*", "terraphim_server", "desktop/src-tauri"]
default-members = ["terraphim_server"]

# CI build creates artifacts that are not part of the repo
# Allow to publish with release-plz even if there are uncommitted changes
# See https://github.com/MarcoIeni/release-plz/issues/1360
allow_dirty = true

0 comments on commit 0f3879a

Please sign in to comment.