-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
gapi-cli.conf.yml
67 lines (59 loc) · 2.59 KB
/
gapi-cli.conf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
commands:
cli:
init:
- git submodule sync --recursive
- git submodule update --init --recursive --force
# - for d in ./*/ ; do (cd "$d" && git archive --remote=ssh://git@gitlab.youvolio.com:522/kristiyan.tachev/version-tag-hook.git HEAD hooks | tar -x -C .git); done
version:
change:
- node ./build-versions.js && for d in ./*/ ; do (cd "$d" && git add . && git commit -m 'autocommitmessage' || true && npm version patch && git push && npm publish --update-readme --access public); done && gapi repo commit-patch
patch:
- npm version patch
- git push
- for d in ./*/ ; do (cd "$d" && npm version patch && npm publish --update-readme --access public); done && gapi repo commit && gapi version change
minor:
- npm version minor
- git push
- for d in ./*/ ; do (cd "$d" && npm version minor && npm publish --update-readme --access public); done && gapi repo commit && gapi version change
major:
- npm version major
- git push
- for d in ./*/ ; do (cd "$d" && npm version major && npm publish --update-readme --access public); done && gapi repo commit && gapi version change
repo:
checkout:
- for d in ./*/ ; do (cd "$d" && git checkout master); done
commit-patch:
- git add .
- git commit -m 'autocommitmessage'
- npm version patch
- git push
commit-minor:
- git add .
- git commit -m 'autocommitmessage'
- npm version minor
- git push
commit-major:
- git add .
- git commit -m 'autocommitmessage'
- npm version major
- git push
commit:
- git add .
- git commit -m 'autocommitmessage'
- git push
npm:
pushtags:
- for d in ./*/ ; do (cd "$d" && npm run postpublish); done
pushforce:
- for d in ./*/ ; do (cd "$d" && git add . && git commit -m "chore" && git push -f && npm run postpublish); done
commit:
all: for d in ./*/ ; do (cd "$d" && git add . && git commit -m 'autocommitmessage' || true && dir && git push && npm run postpublish); done
all-publish: for d in ./*/ ; do (cd "$d" && npm publish --update-readme --access public); done
info:
status: for d in ./*/ ; do (cd "$d" && pwd && git status); done
pull: for d in ./*/ ; do (cd "$d" && git reset --hard && git pull); done
push: for d in ./*/ ; do (cd "$d" && git push origin master); done
defs:
build: node ./build-definition.js
# all-publish: for d in ./*/ ; do (cd "$d" && git add . && git commit -m autocommitmessage && git push && npm publish --update-readme --access public); done
# >/dev/null 2>&