mirror of
https://github.com/swartzrock/obsidian-settings-float-plugin.git
synced 2026-07-22 07:48:42 +00:00
Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
673d32953f | ||
|
|
52aad44bd6 | ||
|
|
cda9ac3ceb | ||
|
|
386252b70d | ||
|
|
af5c80727f | ||
|
|
b0590fd82f |
6 changed files with 22 additions and 8 deletions
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
|
|
@ -22,7 +22,9 @@ on:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
attestations: write
|
||||||
contents: write
|
contents: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
@ -90,7 +92,6 @@ jobs:
|
||||||
|
|
||||||
echo "version=${VERSION}" >> "${GITHUB_OUTPUT}"
|
echo "version=${VERSION}" >> "${GITHUB_OUTPUT}"
|
||||||
echo "tag_name=${TAG_NAME}" >> "${GITHUB_OUTPUT}"
|
echo "tag_name=${TAG_NAME}" >> "${GITHUB_OUTPUT}"
|
||||||
echo "zip_name=settings-float-${VERSION}.zip" >> "${GITHUB_OUTPUT}"
|
|
||||||
|
|
||||||
if gh release view "${TAG_NAME}" >/dev/null 2>&1; then
|
if gh release view "${TAG_NAME}" >/dev/null 2>&1; then
|
||||||
echo "release_exists=true" >> "${GITHUB_OUTPUT}"
|
echo "release_exists=true" >> "${GITHUB_OUTPUT}"
|
||||||
|
|
@ -98,10 +99,13 @@ jobs:
|
||||||
echo "release_exists=false" >> "${GITHUB_OUTPUT}"
|
echo "release_exists=false" >> "${GITHUB_OUTPUT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Package release zip
|
- name: Attest release assets
|
||||||
if: steps.release.outputs.release_exists != 'true'
|
if: steps.release.outputs.release_exists != 'true'
|
||||||
run: |
|
uses: actions/attest@v4.2.0
|
||||||
zip "${{ steps.release.outputs.zip_name }}" manifest.json main.js styles.css
|
with:
|
||||||
|
subject-path: |
|
||||||
|
main.js
|
||||||
|
styles.css
|
||||||
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
if: steps.release.outputs.release_exists != 'true'
|
if: steps.release.outputs.release_exists != 'true'
|
||||||
|
|
@ -118,7 +122,6 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gh release create "${{ steps.release.outputs.tag_name }}" \
|
gh release create "${{ steps.release.outputs.tag_name }}" \
|
||||||
"${{ steps.release.outputs.zip_name }}" \
|
|
||||||
manifest.json \
|
manifest.json \
|
||||||
main.js \
|
main.js \
|
||||||
styles.css \
|
styles.css \
|
||||||
|
|
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -47,5 +47,9 @@ jobs:
|
||||||
name: Publish release
|
name: Publish release
|
||||||
needs: changesets
|
needs: changesets
|
||||||
if: needs.changesets.outputs.has-changesets == 'false'
|
if: needs.changesets.outputs.has-changesets == 'false'
|
||||||
|
permissions:
|
||||||
|
attestations: write
|
||||||
|
contents: write
|
||||||
|
id-token: write
|
||||||
uses: ./.github/workflows/publish.yml
|
uses: ./.github/workflows/publish.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.2.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 386252b: cleaned up release assets
|
||||||
|
|
||||||
## 0.2.2
|
## 0.2.2
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "settings-float",
|
"id": "settings-float",
|
||||||
"name": "Settings Float",
|
"name": "Settings Float",
|
||||||
"version": "0.2.2",
|
"version": "0.2.3",
|
||||||
"minAppVersion": "1.6.0",
|
"minAppVersion": "1.6.0",
|
||||||
"description": "Makes the Settings, Theme, and Community Plugins dialogs movable and resizable.",
|
"description": "Makes the Settings, Theme, and Community Plugins dialogs movable and resizable.",
|
||||||
"author": "Jason Swartz",
|
"author": "Jason Swartz",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "settings-float",
|
"name": "settings-float",
|
||||||
"version": "0.2.2",
|
"version": "0.2.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Obsidian plugin that makes Settings and catalog dialogs movable and resizable.",
|
"description": "Obsidian plugin that makes Settings and catalog dialogs movable and resizable.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@
|
||||||
"0.1.0": "1.6.0",
|
"0.1.0": "1.6.0",
|
||||||
"0.2.0": "1.6.0",
|
"0.2.0": "1.6.0",
|
||||||
"0.2.1": "1.6.0",
|
"0.2.1": "1.6.0",
|
||||||
"0.2.2": "1.6.0"
|
"0.2.2": "1.6.0",
|
||||||
|
"0.2.3": "1.6.0"
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue