Skip to content

Commit

Permalink
Merge pull request #24 from pj8/github-action
Browse files Browse the repository at this point in the history
Set github action to publish
yuki777 authored Sep 26, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 1ec2be6 + 523f3ff commit 57c6327
Showing 6 changed files with 67 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name-template: "v$NEXT_MINOR_VERSION 🌈"
tag-template: "v$NEXT_MINOR_VERSION"
categories:
- title: "Breaking change"
labels:
- "breaking Change"
- title: "🚀 Features"
labels:
- "enhancement"
- title: "🐛 Bug Fixes"
labels:
- "bug"
- title: "Dependencies"
labels:
- "dependencies"
- "renovate"
- title: "Refactor"
labels:
- "refactoring"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
template: |
## Changes
$CHANGES
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
release:
types:
- published
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/

- name: Install the dependencies
run: npm i

- name: Install vsce
run: npm i -g vsce

- name: Publish
run: vsce publish -p ${{ secrets.VSCE_PAT }}
14 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter

on:
push:
branches:
- main

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -5,8 +5,3 @@

## Features
- Go to definition.

## Support
- [x] Mac
- [x] Ubuntu
- [x] Windows(WSL)
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -7,8 +7,10 @@
"url": "https://github.com/yuki777/vscode-bear-goto"
},
"description": "Jump to resource.",
"version": "1.0.15",
"version": "1.0.16",
"engines": {
"node": "14.*",
"npm": "6.*",
"vscode": "^1.59.0"
},
"categories": [

0 comments on commit 57c6327

Please sign in to comment.