The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
Go to file
Nikita Galaiko f77ab8a74b
Revert "hardcode release dir"
This reverts commit 7467b96c2e.
2023-02-20 16:17:02 +01:00
.github/workflows Revert "hardcode release dir" 2023-02-20 16:17:02 +01:00
.vscode simple tauri example 2023-01-31 15:55:57 +01:00
scripts Revert "hardcode release dir" 2023-02-20 16:17:02 +01:00
src 🔨 Refactor: Sort sessions by startTimestampMs 2023-02-20 14:52:08 +01:00
src-tauri handle missing ctime [2] 2023-02-20 15:54:34 +01:00
static simple tauri example 2023-01-31 15:55:57 +01:00
.eslintrc.json add some linting config 2023-02-12 21:14:41 +01:00
.gitignore move bin ignore to separate file 2023-02-06 10:44:36 +01:00
.npmrc simple tauri example 2023-01-31 15:55:57 +01:00
.prettierrc.json add some linting config 2023-02-12 21:14:41 +01:00
package.json Add date-fns for better date calculations 2023-02-20 12:34:07 +01:00
pnpm-lock.yaml Add date-fns for better date calculations 2023-02-20 12:34:07 +01:00
postcss.config.cjs simple tauri example 2023-01-31 15:55:57 +01:00
README.md dynamic release versioning 2023-02-17 16:09:24 +01:00
svelte.config.js app: fix building 2023-02-03 10:35:42 +01:00
tailwind.config.cjs project settings page 2023-02-16 12:16:24 +01:00
tsconfig.json simple tauri example 2023-01-31 15:55:57 +01:00
vite.config.js crdt doc impl 2023-02-01 10:04:03 +01:00

development

prerequisites

see here for the list of software required to build / develope the app.

setup

then, make sure to install app dependencies:

$ pnpm install

run

now you should be able to run the app in development mode:

$ pnpm tauri dev

building

to build the app in production mode, run:

$ pnpm tauri build

releasing

Building is done via GitHub Action. Go to the link and select Run workflow from the desired branch.

versioning

When running the release action, you will have to choose one of major, minor, or patch release type. Action will generate a new version based on your input and current version found at https://app.gitbutler.com/releases.

publishing

To publish a version that you've just build, use Release Manager.

runners

Note that to build an arm64 macos app, you need to make sure that there is at least one self-hosted runner with macos-aarch64 label is online here.

If you are a lucky owner of an arm64 macos machine, feel free to run it yourself. Make sure to label it with macos-aarch64.