Skip to content

Commit a35e52b

Browse files
fix to push
1 parent 299fe00 commit a35e52b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

create_branch.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#!/usr/bin/env bash -x
1+
#!/usr/bin/env bash
2+
3+
MY_PATH="`dirname \"$0\"`"
4+
cd ${MY_PATH}
25

36
#find the generator-angular-fullstack source
47
#this is usually 2 direcories up as this is a submodule
@@ -27,3 +30,8 @@ sed -e 's/<%.*%>//; /name/d' "${FULLSTACK_DIR}/templates/app/typings(ts).json" >
2730

2831
sed -i .bak "s/LABEL.*/LABEL \"version\"=\"${ver}\"/" Dockerfile
2932
sed -i .bak "s/\"version\".*/\"version\": \"${ver}\",/" package.json
33+
34+
git add .
35+
git commit -m "circleci push to ${ver}"
36+
git push origin ${ver}
37+

0 commit comments

Comments
 (0)