Skip to content

Commit

Permalink
chore: bump version and update README
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed May 31, 2023
1 parent 76bfac7 commit 6dc8476
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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
@@ -1,6 +1,6 @@
[package]
name = "stremio-service"
version = "0.1.3"
version = "0.1.4"
edition = "2021"
authors = ["Stremio"]
description = "Stremio service - Freedom to Stream"
Expand Down
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,26 @@ cargo macos && create-dmg --overwrite target/macos/*.app target/macos

## Releasing new version

The `generate_descriptor.js` script is used to generate new version descriptor and upload it to s3. This script is automatically called in the release workflows for Mac OS and Windows. The default behavior is to find the latest artifacts and generate a release candidate descriptor.
### Release

1. Bump version and update Flatpak
- Bump version in `Cargo.toml`
- Flatpak packages - necessary to add the new version and it's date to the [com.stremio.Service.appdata.xml](./flatpak/com.stremio.Service.appdata.xml) file.
- Commit `Cargo.toml`, `Cargo.lock` and `flatpak/com.stremio.Service.appdata.xml`.

2. Make a new tag

`git tag -a v0.XX.XX -m "Service v0.XX.XX"`

3. Push it to the repo

For the Flatpak packages it is also necessary to add the new version and it's date to the [com.stremio.Service.appdata.xml](./flatpak/com.stremio.Service.appdata.xml) file.
`git push -u origin v0.XX.XX`

4. The [`release` workflow](./.github/workflows/release.yml) will be triggered

### Manual

The `generate_descriptor.js` script is used to generate new version descriptor and upload it to s3. This script is automatically called in the release workflows for Mac OS and Windows. The default behavior is to find the latest artifacts and generate a release candidate descriptor.

### Quick release example

Expand Down
1 change: 1 addition & 0 deletions flatpak/com.stremio.Service.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@

<releases>
<release version="0.1.3" date="2023-05-31" />
<release version="0.1.4" date="2023-05-31" />
</releases>
</component>

0 comments on commit 6dc8476

Please sign in to comment.