Skip to content

Commit

Permalink
chore: release v0.3.4 (#32)
Browse files Browse the repository at this point in the history
* chore: release v0.3.4

* Update package.json

* chore: update
  • Loading branch information
SoonIter authored Oct 21, 2024
1 parent 9a8a105 commit f29b23f
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 24 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ jobs:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Bump package.json
if: ${{ steps.release-plz.outputs.prs_created }}
env:
GH_TOKEN: ${{ github.token }}
RELEASES: ${{ steps.release-plz.outputs.releases }}
PR: ${{ steps.release-plz.outputs.pr }}
run: |
set -e
pr_number=${{ fromJSON(steps.release-plz.outputs.pr).number }}
if [[ -n "$pr_number" ]]; then
version=$(echo "$RELEASES" | jq -r '.[0].version')
echo "version: $version"
jq --arg version "${version}" '.version = ($version)' npm/package.json > tmp
mv tmp npm/package.json
gh pr checkout $pr_number
git add .
git commit -m "Update package.json"
git push
fi
# - name: Bump package.json
# if: ${{ steps.release-plz.outputs.prs_created }}
# env:
# GH_TOKEN: ${{ github.token }}
# RELEASES: ${{ steps.release-plz.outputs.releases }}
# PR: ${{ steps.release-plz.outputs.pr }}
# run: |
# set -e

# pr_number=${{ fromJSON(steps.release-plz.outputs.pr).number }}
# if [[ -n "$pr_number" ]]; then
# version=$(echo "$RELEASES" | jq -r '.[0].version')
# echo "version: $version"

# jq --arg version "${version}" '.version = ($version)' npm/package.json > tmp
# mv tmp npm/package.json

# gh pr checkout $pr_number
# git add .
# git commit -m "Update package.json"
# git push
# fi
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.4](https://github.com/web-infra-dev/rspack-resolver/compare/rspack_resolver-v0.3.3...rspack_resolver-v0.3.4) - 2024-10-21

### Added

- rebase and refine extension-alias error format ([#30](https://github.com/web-infra-dev/rspack-resolver/pull/30))

## [1.12.0](https://github.com/oxc-project/oxc_resolver/compare/oxc_resolver-v1.11.0...oxc_resolver-v1.12.0) - 2024-09-25

### Added
Expand Down
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
Expand Up @@ -3,7 +3,7 @@ members = ["napi"]
resolver = "2"

[package]
version = "0.3.3"
version = "0.3.4"
name = "rspack_resolver"
authors = ["Rspack"]
categories = ["development-tools"]
Expand Down

0 comments on commit f29b23f

Please sign in to comment.