Skip to content

Latest commit

 

History

History
92 lines (64 loc) · 1.61 KB

DEVELOP.md

File metadata and controls

92 lines (64 loc) · 1.61 KB

For Developers

Release Process

  1. Update version in Cargo.toml on develop branch:
[package]
name = "jgze"
version = "1.1.0"  # Update this version(ex: 1.0.0 -> 1.1.0)
  1. Update CHANGELOG.md on develop branch:
  • Move changes from "Unreleased" to "Released"
  • Add release date
# Changelog

## [Unreleased]

## [Released]

### [1.1.0] - 2024-11-26

#### Feature
- xxx

### [1.0.0] - 2024-11-17
  1. Update cargo.lock
cargo build
  1. Commit and push changes to develop branch:
git add .
git commit -m "Prepare for v1.1.0 release"
git push origin develop
  1. Merge develop branch into release branch:
git checkout release
git merge --no-ff develop
git push origin release
  1. Create and push a new tag on release branch:
git tag v1.1.0
git push origin v1.1.0

This will trigger the GitHub Actions workflow that:

  • Creates a new GitHub release
  • Builds binaries
  • Uploads the binaries to the release page

Supported Platforms

The automated builds create binaries for:

Platform Architecture Target Triple File Name
Linux x86_64 x86_64-unknown-linux-gnu jgze-x86_64-linux.tar.gz
macOS x86_64 x86_64-apple-darwin jgze-x86_64-darwin.tar.gz
macOS aarch64 aarch64-apple-darwin jgze-aarch64-darwin.tar.gz
Windows x86_64 x86_64-pc-windows-msvc jgze-x86_64-windows.zip
  1. Publish to crates.io:
cargo login
cargo publish
  1. Merge release branch into main branch:
git checkout main
git merge --no-ff release
git push origin main