Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ jobs:
sed -i 's/^version = ".*"/version = "${{ steps.version.outputs.new }}"/' Cargo.toml
echo "Updated Cargo.toml to version ${{ steps.version.outputs.new }}"

- name: Run cargo build to update Cargo.lock
run: cargo build
- name: Run cargo check to update Cargo.lock
run: cargo check

- name: Commit and push changes
run: |
Expand All @@ -98,7 +98,7 @@ jobs:

- name: Create Pull Request
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.PAT_OPEN_PR }}
run: |
gh pr create \
--title "Release: Bump version to ${{ steps.version.outputs.new }}" \
Expand Down
7 changes: 4 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ The release process has been streamlined with automation to reduce manual steps.
### Step 1: Trigger Version Bump Workflow

1. Go to the [Actions tab](../../actions/workflows/bump-version.yml) in GitHub
2. Click "Run workflow"
3. Select the version bump type:
2. Click on "Bump Version".
3. Click "Run workflow"
4. Select the version bump type:
- `patch` - Bug fixes (0.0.4 → 0.0.5)
- `minor` - New features (0.0.4 → 0.1.0)
- `major` - Breaking changes (0.0.4 → 1.0.0)
4. Click "Run workflow"
5. Click "Run workflow"

This will:
- ✅ Read the current version from `Cargo.toml`
Expand Down