diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e66a65f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Cut release +on: + workflow_dispatch: + inputs: + version_number: + description: 'Version Number' + required: true + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: yarn install + - name: Run the tests + run: yarn test + - name: Build the release artifacts + run: yarn build + - name: Create the release + run: gh release create "${github.event.inputs.version_number}" main.js styles.css manifest.json --title "${github.event.inputs.version_number} --draft" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 7a0d5d0..6bfeb89 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "obsidian-sample-plugin", - "version": "0.9.7", - "description": "This is a sample plugin for Obsidian (https://obsidian.md)", + "name": "obsidian-plugin-todo", + "version": "0.2.0", + "description": "Text-based GTD in Obsidian. Collects all outstanding TODOs from your vault and presents them in lists Today, Scheduled, Inbox and Someday/Maybe.", "main": "main.js", "scripts": { "build": "rollup --config rollup.config.js", @@ -11,7 +11,11 @@ "test": "jest" }, "keywords": [], - "author": "", + "author": "Lars Lockefeer", + "bugs": { + "url": "https://github.com/larslockefeer/obsidian-plugin-todo/issues" + }, + "homepage": "https://github.com/larslockefeer/obsidian-plugin-todo#obsidian-todo-plugin", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^15.1.0",