From b0cac3319a14963e280725613489f6f2a30b750b Mon Sep 17 00:00:00 2001 From: rordaz Date: Sat, 27 Jun 2026 12:21:07 -0500 Subject: [PATCH] feat: update version to 1.1.3, enhance compatibility, and add GitHub Actions workflow for release tagging --- .github/workflows/create-tag.yml | 45 ++++++++++++++++++++++++++++++++ .gitignore | 1 + .vscode/settings.json | 22 ++++++++-------- RELEASE_NOTES.md | 8 ++++++ manifest.json | 4 +-- package.json | 2 +- 6 files changed, 68 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/create-tag.yml diff --git a/.github/workflows/create-tag.yml b/.github/workflows/create-tag.yml new file mode 100644 index 0000000..71489c1 --- /dev/null +++ b/.github/workflows/create-tag.yml @@ -0,0 +1,45 @@ +name: Create Release Tag + +on: + workflow_dispatch: + push: + branches: + - main + paths: + - manifest.json + +permissions: + contents: write + +jobs: + tag: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Get version from manifest + id: version + run: | + version=$(jq -r '.version' manifest.json) + echo "version=$version" >> $GITHUB_OUTPUT + + - name: Check if tag already exists + id: tag_check + run: | + if git rev-parse "refs/tags/${{ steps.version.outputs.version }}" >/dev/null 2>&1; then + echo "exists=true" >> $GITHUB_OUTPUT + else + echo "exists=false" >> $GITHUB_OUTPUT + fi + + - name: Create and push tag + if: steps.tag_check.outputs.exists == 'false' + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git tag ${{ steps.version.outputs.version }} + git push origin ${{ steps.version.outputs.version }} diff --git a/.gitignore b/.gitignore index cb5621a..a185fc1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ main.js *.js.map Scan-Results-*.md Review-Results-*.md +.vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json index ad47533..5c3994c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,15 @@ { "workbench.colorCustomizations": { - "activityBar.background": "#875000", - "titleBar.activeBackground": "#BD7000", - "titleBar.activeForeground": "#FFFAF2", - "titleBar.inactiveBackground": "#875000", - "titleBar.inactiveForeground": "#FFFAF2", - "statusBar.background": "#875000", - "statusBar.foreground": "#FFFAF2", - "statusBar.debuggingBackground": "#875000", - "statusBar.debuggingForeground": "#FFFAF2", - "statusBar.noFolderBackground": "#875000", - "statusBar.noFolderForeground": "#FFFAF2" + "activityBar.background": "#0C351D", + "titleBar.activeBackground": "#114A29", + "titleBar.activeForeground": "#F3FCF7", + "titleBar.inactiveBackground": "#0C351D", + "titleBar.inactiveForeground": "#F3FCF7", + "statusBar.background": "#0C351D", + "statusBar.foreground": "#F3FCF7", + "statusBar.debuggingBackground": "#0C351D", + "statusBar.debuggingForeground": "#F3FCF7", + "statusBar.noFolderBackground": "#0C351D", + "statusBar.noFolderForeground": "#F3FCF7" } } \ No newline at end of file diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 661d0cc..f6ef66b 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,13 @@ # Release Notes +## [1.1.3] - 2026-06-27 + +### ✨ Improvements + +- **Broader Obsidian Compatibility** – Lowered minimum required Obsidian version from `1.13.0` to `1.12.0`, allowing the plugin to be installed on Obsidian 1.12.x + +--- + ## [1.1.2] - 2026-06-23 ### ✨ Improvements diff --git a/manifest.json b/manifest.json index cb3a75e..5be4d91 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "id": "color-tab", "name": "Color Tab", - "version": "1.1.2", - "minAppVersion": "1.13.0", + "version": "1.1.3", + "minAppVersion": "1.12.0", "description": "Colorize open tabs to visually distinguish notes at a glance, using a right-click context menu.", "author": "Rafael Ordaz", "authorUrl": "https://github.com/rordaz", diff --git a/package.json b/package.json index df3aa55..cee587c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "color-tab", - "version": "1.1.2", + "version": "1.1.3", "description": "Obsidian plugin to colorize open tabs", "main": "main.js", "scripts": {