Compare commits

..

6 Commits

Author SHA1 Message Date
Jiaxin Peng
a2200b68af chore: bump version to 2.8.4 2026-03-04 10:37:07 +00:00
Jiaxin Peng
95b22619b4 chore: update changelog format and remove version prefix for consistency 2026-03-04 10:37:02 +00:00
Jiaxin Peng
b08c46c233 fix: update release tag patterns and add version bump message in .npmrc 2026-03-04 10:32:32 +00:00
Jiaxin Peng
8dfb82b4ce 2.8.3 2026-03-04 10:29:10 +00:00
Jiaxin Peng
8502650033 fix: remove tag-version-prefix from .npmrc to correct version formatting in package.json 2026-03-04 10:29:06 +00:00
Jiaxin Peng
30e34e3f8c chore: update Node.js version to 22 in workflows and package.json 2026-03-04 10:10:41 +00:00
9 changed files with 24 additions and 22 deletions

View File

@@ -23,7 +23,7 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "18" node-version: "22"
- name: Build - name: Build
id: build id: build

View File

@@ -5,14 +5,14 @@ on:
branches: branches:
- main - main
tags: tags:
# Only trigger for release tags (e.g., v1.0.0, v2.3.4) # Only trigger for release tags (e.g., 1.0.0, 2.3.4)
# Excludes prerelease tags (e.g., v2.8.0-beta.3, v1.0.0-rc.1) # Excludes prerelease tags (e.g., 2.8.0-beta.3, 1.0.0-rc.1)
- "v[0-9]+.[0-9]+.[0-9]" - "[0-9]+.[0-9]+.[0-9]"
- "v[0-9]+.[0-9]+.[0-9][0-9]" - "[0-9]+.[0-9]+.[0-9][0-9]"
- "v[0-9]+.[0-9]+.[0-9][0-9][0-9]" - "[0-9]+.[0-9]+.[0-9][0-9][0-9]"
- "v[0-9]+.[0-9][0-9].[0-9]" - "[0-9]+.[0-9][0-9].[0-9]"
- "v[0-9]+.[0-9][0-9].[0-9][0-9]" - "[0-9]+.[0-9][0-9].[0-9][0-9]"
- "v[0-9]+.[0-9][0-9].[0-9][0-9][0-9]" - "[0-9]+.[0-9][0-9].[0-9][0-9][0-9]"
env: env:
PLUGIN_NAME: share-to-notionnext # Change this to match the id of your plugin. PLUGIN_NAME: share-to-notionnext # Change this to match the id of your plugin.
@@ -27,7 +27,7 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "18" node-version: "22"
# - name: Generate changelog # - name: Generate changelog
# id: changelog # id: changelog

View File

@@ -18,7 +18,7 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "18" node-version: "22"
- name: Build - name: Build
id: build id: build

3
.npmrc
View File

@@ -1 +1,2 @@
tag-version-prefix="v" tag-version-prefix=""
message="chore: bump version to %s"

View File

@@ -7,14 +7,13 @@
### Changed ### Changed
### Fixed ### Fixed
## 2.8.4 (2026-03-04)
## v2.8.2 (2026-03-04)
### Fixed ### Fixed
- Fixed version bump with `tag-version-prefix="v"` in `.npmrc` causing `v` to be included in the version number (e.g. `v2.8.2` instead of `2.8.2`) - Fixed version bump with `tag-version-prefix="v"` in `.npmrc` causing incorrect version format in `package.json` (e.g. `v2.8.1` instead of `2.8.1`)
## v2.8.1 (2026-03-04) ## 2.8.1 (2026-03-04)
### Added ### Added
@@ -28,7 +27,7 @@
- Auto-sync no longer shows "All blocks has been uploaded" (`BlockUploaded`) notice when success notices are disabled - Auto-sync no longer shows "All blocks has been uploaded" (`BlockUploaded`) notice when success notices are disabled
## v2.8.0 (2026-01-29) ## 2.8.0 (2026-01-29)
### Added ### Added

View File

@@ -1,7 +1,7 @@
{ {
"id": "share-to-notionnext", "id": "share-to-notionnext",
"name": "Share to NotionNext", "name": "Share to NotionNext",
"version": "2.8.2", "version": "2.8.4",
"minAppVersion": "0.0.1", "minAppVersion": "0.0.1",
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
"author": "EasyChris, jxpeng98", "author": "EasyChris, jxpeng98",

View File

@@ -1,6 +1,6 @@
{ {
"name": "share-to-notionnext", "name": "share-to-notionnext",
"version": "2.8.2", "version": "2.8.4",
"type": "module", "type": "module",
"description": "Share files to any Notion database using the Notion API, originally created by EasyChris/obsidian-to-notion.", "description": "Share files to any Notion database using the Notion API, originally created by EasyChris/obsidian-to-notion.",
"main": "main.js", "main": "main.js",
@@ -13,7 +13,7 @@
"author": "Jiaxin PENG", "author": "Jiaxin PENG",
"license": "GNU GPLv3", "license": "GNU GPLv3",
"devDependencies": { "devDependencies": {
"@types/node": "^20.5.7", "@types/node": "^22.11.3",
"@types/yaml-front-matter": "^4.1.3", "@types/yaml-front-matter": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0", "@typescript-eslint/parser": "^6.16.0",

View File

@@ -25,7 +25,7 @@ function bumpChangelog(version) {
} }
const today = new Date().toISOString().slice(0, 10); const today = new Date().toISOString().slice(0, 10);
const releaseHeader = `## v${version} (${today})`; const releaseHeader = `## ${version} (${today})`;
const updated = content.replace(unreleasedHeader, releaseHeader); const updated = content.replace(unreleasedHeader, releaseHeader);
const marker = "# Changelog\n\n"; const marker = "# Changelog\n\n";

View File

@@ -3,5 +3,7 @@
"1.0.1": "0.12.0", "1.0.1": "0.12.0",
"2.8.0": "0.0.1", "2.8.0": "0.0.1",
"2.8.1": "0.0.1", "2.8.1": "0.0.1",
"2.8.2": "0.0.1" "2.8.2": "0.0.1",
"2.8.3": "0.0.1",
"2.8.4": "0.0.1"
} }