Skip to content

Commit

Permalink
Merge pull request #1056 from pjkaufman/master
Browse files Browse the repository at this point in the history
Chore: Added Some Changes for Beta Releases
  • Loading branch information
pjkaufman authored Mar 22, 2024
2 parents d54f3f2 + b8b248c commit 3d8af2f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-linter",
"name": "Linter",
"version": "1.23.3",
"version": "1.23.3-rc-1",
"minAppVersion": "1.4.16",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao",
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": "obsidian-linter",
"version": "1.23.3",
"version": "1.23.3-rc-1",
"description": "Enforces consistent markdown styling for Obsidian (https://obsidian.md). It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions scripts/create-release
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ if [ -z "$VERSION" ]; then
exit 1
fi

VERSION="${VERSION//\"/}"

echo "Creating tag $VERSION"

git tag -a "$VERSION" -m "$VERSION" && git push --tags upstream
Expand Down
3 changes: 1 addition & 2 deletions scripts/pre-beta-release
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ echo "Releasing beta version '${NEW_VERSION}'"
# Delete old files if they exist
rm -f package.tmp.json
rm -f manifest-beta.tmp.json
rm -f versions.tmp.json

# Rewrite versions in relevant files.
jq ".version=\"${NEW_VERSION}\"" package.json > package.tmp.json && mv package.tmp.json package.json
jq ".version=\"${NEW_VERSION}\"" manifest-beta.json > manifest-beta.tmp.json && mv manifest-beta.tmp.json manifest-beta.json
jq ". + {\"${NEW_VERSION}\": \"1.5.8\"}" versions.json > versions.tmp.json && mv versions.tmp.json versions.json
# jq ". + {\"${NEW_VERSION}\": \"1.5.8\"}" versions.json > versions.tmp.json && mv versions.tmp.json versions.json

# Create commit & commit.
git commit -a -m "Auto-release beta ${NEW_VERSION}"
Expand Down
3 changes: 1 addition & 2 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,5 @@
"1.22.0": "1.4.16",
"1.23.0": "1.4.16",
"1.23.1": "1.4.16",
"1.23.2": "1.4.16",
"1.23.3": "1.5.8"
"1.23.2": "1.4.16"
}

0 comments on commit 3d8af2f

Please sign in to comment.