From 30b90b775c30ea1243b08caa4eaf786dd8188af2 Mon Sep 17 00:00:00 2001
From: Benjamin Klum <benjamin.klum@helgoboss.org>
Date: Thu, 2 May 2024 15:51:55 +0200
Subject: [PATCH] Raise version and improve README

---
 Cargo.lock |  8 ++++----
 Cargo.toml |  2 +-
 README.md  | 13 ++++++++++++-
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 19614b2..a0db610 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3813,7 +3813,7 @@ dependencies = [
 
 [[package]]
 name = "reaboot-cli"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "clap 4.5.3",
@@ -3831,7 +3831,7 @@ dependencies = [
 
 [[package]]
 name = "reaboot-core"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "atomic",
@@ -3866,7 +3866,7 @@ dependencies = [
 
 [[package]]
 name = "reaboot-gui"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "markdown",
@@ -3885,7 +3885,7 @@ dependencies = [
 
 [[package]]
 name = "reaboot-reapack"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "camino",
diff --git a/Cargo.toml b/Cargo.toml
index 32f06b8..e03e8ae 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ resolver = "2"
 members = ["cli", "core", "gui/src-tauri", "reapack"]
 
 [workspace.package]
-version = "0.2.0"
+version = "0.3.0"
 description = "ReaBoot"
 edition = "2021"
 authors = ["Benjamin Klum <benjamin.klum@helgoboss.org>"]
diff --git a/README.md b/README.md
index 50b6b5c..0228287 100644
--- a/README.md
+++ b/README.md
@@ -20,4 +20,15 @@ Do this after changing `commons/src/reaboot-logo.svg`:
    cd gui
    npm run tauri icon ../commons/src/reaboot-logo.png
    ```
-3. Copy `reaboot-logo.svg` into `website/src/assets`
\ No newline at end of file
+3. Copy `reaboot-logo.svg` into `website/src/assets`
+
+### Publish new version
+
+1. Increase version number in `Cargo.toml` (`workspace.package.version`) to `X.Y.Z`
+2. Commit and push
+3. `git tag vX.Y.Z`
+3. `git push origin vX.Y.Z`
+
+### Publish website changes
+
+Just push main branch.
\ No newline at end of file