Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Added Some Changes for Beta Releases #1056

Merged
merged 3 commits into from
Mar 22, 2024
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
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"
}
Loading