Skip to content

Commit

Permalink
📦 Chore(ci): auto release to marketplace & update picgo core to 1.4.25
Browse files Browse the repository at this point in the history
  • Loading branch information
upupming committed Aug 21, 2021
1 parent 90665eb commit 0940b69
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 8 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master

- name: Create Release for Tag
id: release_tag
uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/PicGo/vs-picgo/blob/${{ github.ref }}/CHANGELOG.md) for details.
- uses: actions/checkout@v2
- run: npm install
- uses: lannonbr/vsce-action@master
with:
args: "publish -p $VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
"eslint.packageManager": "yarn",
"typescript.tsdk": "node_modules\\typescript\\lib",
"editor.tabSize": 2,
"cSpell.words": ["Mixins", "picgo", "vspicgo"]
"cSpell.words": ["Mixins", "picgo", "vspicgo"],
"[markdown]": {
"editor.tabSize": 4
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
"dependencies": {
"lodash": "^4.17.19",
"lodash-id": "^0.14.0",
"picgo": "1.4.24"
"picgo": "1.4.25"
},
"license": "MIT"
}
17 changes: 11 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ command-line-usage@^6.1.0:
table-layout "^1.0.1"
typical "^5.2.0"

commander@^2.17.0, commander@^2.20.0, commander@^2.8.1:
commander@^2.20.0, commander@^2.8.1:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
Expand All @@ -1703,6 +1703,11 @@ commander@^6.1.0, commander@^6.2.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==

commander@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-8.1.0.tgz#db36e3e66edf24ff591d639862c6ab2c52664362"
integrity sha512-mf45ldcuHSYShkplHHGKWb4TrmwQadxOn7v4WuhDJy0ZVoY5JFajaRDKD0PNe5qXzBX0rhovjTnP6Kz9LETcuA==

comment-json@^2.3.1:
version "2.4.2"
resolved "https://registry.yarnpkg.com/comment-json/-/comment-json-2.4.2.tgz#2111c065864338ad8d98ae01eecde9e02cd2f549"
Expand Down Expand Up @@ -5712,13 +5717,13 @@ performance-now@^2.1.0:
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=

picgo@1.4.24:
version "1.4.24"
resolved "https://registry.yarnpkg.com/picgo/-/picgo-1.4.24.tgz#0d5a492e1f4d29823912535122fdc14928a6ddad"
integrity sha512-4QVTRIMLJes9c5vDuUl/c0TOEtUJycQhVdsXYtwx0fkKk/vhvfh0pRYUc33DEW88eGRi2CzAE2JJ93KHy5A8cg==
picgo@1.4.25:
version "1.4.25"
resolved "https://registry.yarnpkg.com/picgo/-/picgo-1.4.25.tgz#c2e73283fc7ad3fecddf1cd99b59ddc2056ee28e"
integrity sha512-t6sjOhIHiS/yQPKYNNoUbzuu9io04SnvaSnAs0ygV2fX9DHFRoYTLhqzz7stTJY9WTNpT9hbCszDEZ89+jxezQ==
dependencies:
chalk "^2.4.1"
commander "^2.17.0"
commander "^8.1.0"
comment-json "^2.3.1"
cross-spawn "^6.0.5"
dayjs "^1.7.4"
Expand Down

0 comments on commit 0940b69

Please sign in to comment.