Commit 4cbdeda6a48ac3eac2c28093fd3bc3c690d6ddf4
1 parent
c73ec431
Exists in
master
and in
2 other branches
ajustando scripts para se orientarem por blog-tema e não mais intercambio-tema
Showing
3 changed files
with
9 additions
and
5 deletions
Show diff stats
scripts/delete_tag.sh
@@ -9,6 +9,8 @@ fi | @@ -9,6 +9,8 @@ fi | ||
9 | 9 | ||
10 | function delete_tag { | 10 | function delete_tag { |
11 | 11 | ||
12 | + echo "Apagando tag de $1" | ||
13 | + | ||
12 | git fetch --all | 14 | git fetch --all |
13 | 15 | ||
14 | git tag -d $1 | 16 | git tag -d $1 |
@@ -43,9 +45,9 @@ cd ../debatepublico-tema | @@ -43,9 +45,9 @@ cd ../debatepublico-tema | ||
43 | 45 | ||
44 | delete_tag $1 debatepublico-tema | 46 | delete_tag $1 debatepublico-tema |
45 | 47 | ||
46 | -cd ../intercambio-tema | 48 | +cd ../blog-tema |
47 | 49 | ||
48 | -delete_tag $1 intercambio-tema | 50 | +delete_tag $1 blog-tema |
49 | 51 | ||
50 | cd ../../plugins/pensandoodireito-network-functions | 52 | cd ../../plugins/pensandoodireito-network-functions |
51 | 53 |
scripts/generate_tag.sh
@@ -8,6 +8,8 @@ fi | @@ -8,6 +8,8 @@ fi | ||
8 | 8 | ||
9 | function gerar_tag_master { | 9 | function gerar_tag_master { |
10 | 10 | ||
11 | + echo "Gerando tag para $1" | ||
12 | + | ||
11 | branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p') | 13 | branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p') |
12 | 14 | ||
13 | git stash | 15 | git stash |
@@ -53,9 +55,9 @@ cd ../debatepublico-tema | @@ -53,9 +55,9 @@ cd ../debatepublico-tema | ||
53 | 55 | ||
54 | gerar_tag_master debatepublico-tema $1 | 56 | gerar_tag_master debatepublico-tema $1 |
55 | 57 | ||
56 | -cd ../intercambio-tema | 58 | +cd ../blog-tema |
57 | 59 | ||
58 | -gerar_tag_master intercambio-tema $1 | 60 | +gerar_tag_master blog-tema $1 |
59 | 61 | ||
60 | cd ../../plugins/pensandoodireito-network-functions | 62 | cd ../../plugins/pensandoodireito-network-functions |
61 | 63 |