Skip to content

Commit

Permalink
new-version.sh: Update version bump for Yarn v3
Browse files Browse the repository at this point in the history
  • Loading branch information
MMK21Hub committed Aug 26, 2023
1 parent 7898bc2 commit 937d0f2
Show file tree
Hide file tree
Showing 5 changed files with 557 additions and 3 deletions.
550 changes: 550 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

Large diffs are not rendered by default.

Empty file added .yarn/versions/5283f72a.yml
Empty file.
4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
4 changes: 2 additions & 2 deletions new-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ fi
echo "Built $ZIP_COUNT Resource Pack .zip file(s): $PWD/out"

# Update the package.json version
# https://classic.yarnpkg.com/en/docs/cli/version
# https://yarnpkg.com/cli/version/
YARN_VERSION="$1.0"
echo "Updating package.json version to $YARN_VERSION"
yarn version --new-version $YARN_VERSION --no-git-tag-version
yarn version $YARN_VERSION
YARN_VERSION_STATUS=$?

if [[ $YARN_VERSION_STATUS != 0 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capitalisation-fixes",
"version": "v2.18.0",
"version": "2.18.0",
"description": "Fixes incorrect capitalisation in Minecraft ",
"main": "src/main.ts",
"type": "module",
Expand Down

0 comments on commit 937d0f2

Please sign in to comment.