Skip to content

Commit

Permalink
Merge pull request #12 from eharris128/release/1.0.7
Browse files Browse the repository at this point in the history
Release/1.0.7
  • Loading branch information
eharris128 authored Dec 3, 2024
2 parents a426e4d + 4d3448b commit 7448734
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 5 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Create Release

on:
push:
branches:
- 'release/[0-9]+.[0-9]+.[0-9]+'

jobs:
create-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Extract version from branch name
id: extract_version
run: echo "VERSION=${GITHUB_REF#refs/heads/release/}" >> $GITHUB_OUTPUT

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"

- name: Build plugin
run: |
npm install
npm run build
- name: Create Tag
run: |
git config user.name github-actions
git config user.email [email protected]
git tag ${{ steps.extract_version.outputs.VERSION }}
git push origin ${{ steps.extract_version.outputs.VERSION }}
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ steps.extract_version.outputs.VERSION }} \
--title="${{ steps.extract_version.outputs.VERSION }}" \
--generate-notes \
main.js manifest.json styles.css
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "bluesky",
"name": "Bluesky",
"version": "1.0.6",
"version": "1.0.7",
"minAppVersion": "0.15.0",
"description": "Post to Bluesky.",
"author": "eharris128",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-bluesky",
"version": "1.0.6",
"version": "1.0.7",
"description": "Post to Bluesky.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"1.0.6": "0.15.0"
"1.0.7": "0.15.0"
}

0 comments on commit 7448734

Please sign in to comment.