AutoCommit/deploy.sh

36 lines
900 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

###
# Author : OBKoro1
# Date : 2019-12-26 20:55:46
# LastEditors : OBKoro1
# LastEditTime : 2020-12-11 00:53:24
# FilePath : \autoCommit\deploy.sh
# Description :
# https://github.com/OBKoro1
###
# 打包
# vsce package
vsce package --yarn # 解决下文报错
# 发布地址: 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
# 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 #从远程拉取所有信息