AutoCommit/deploy.sh

36 lines
900 B
Bash
Raw Permalink Normal View History

2019-12-26 20:56:51 +08:00
###
# Author : OBKoro1
# Date : 2019-12-26 20:55:46
# LastEditors : OBKoro1
2020-12-22 18:22:29 +08:00
# LastEditTime : 2020-12-11 00:53:24
2020-10-27 17:04:50 +08:00
# FilePath : \autoCommit\deploy.sh
2019-12-26 20:56:51 +08:00
# Description :
# https://github.com/OBKoro1
###
2020-10-27 17:04:50 +08:00
# 打包
# vsce package
2019-12-26 20:56:51 +08:00
2020-10-27 17:04:50 +08:00
vsce package --yarn # 解决下文报错
2019-12-26 20:56:51 +08:00
2020-10-27 17:04:50 +08:00
# 发布地址: https://marketplace.visualstudio.com/manage/publishers/obkoro1
# 打包报错:
# Error: Command failed: npm list --production --parseable --depth=99999
# npm ERR! missing: hoek@6.0.4, required by korofileheader@3.4.0
# 使用vsce package --yarn
# vscodium发布插件
# npx ovsx publish file -p token
2020-11-18 16:41:00 +08:00
# tag
# https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E6%89%93%E6%A0%87%E7%AD%BE
# git tag -a 'v0.0.12' -m 'tag信息'
# git push origin --tags
# git tag
# git tag -l | xargs git tag -d #删除所有本地分支
# git fetch origin --prune #从远程拉取所有信息