Skip to content

Commit

Permalink
Auto-release beta 1.23.3-rc-1
Browse files Browse the repository at this point in the history
  • Loading branch information
pjkaufman committed Mar 22, 2024
1 parent 6bce618 commit cf524c9
Show file tree
Hide file tree
Showing 4 changed files with 4 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
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 cf524c9

Please sign in to comment.