File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 6262 "deploy" : " now --dotenv=.env.production --regions all" ,
6363 "alias" : " now alias" ,
6464 "deploy-ci" : " now --token=$NOW_TOKEN --regions all -e NODE_ENV=production -e REACT_APP_STRIPE_PUBLIC_KEY=@guide-stripe-public-key" ,
65- "alias-ci" : " now alias --token=$NOW_TOKEN"
65+ "alias-ci" : " now alias --token=$NOW_TOKEN" ,
66+ "release" : " scripts/release.sh"
6667 },
6768 "now" : {
6869 "name" : " guide" ,
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # usage: release.sh version
4+
5+ # args: branch, version
6+ release_branch () {
7+ git checkout $1
8+ git tag $1 _$2
9+ }
10+
11+ COUNTER=0
12+ until [ $COUNTER -gt 18 ]; do
13+ release_branch $COUNTER $1
14+ let COUNTER+=1
15+ done
16+
17+ git push origin --tags
You can’t perform that action at this time.
0 commit comments