We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca921f7 + fa922a6 commit c3b7388Copy full SHA for c3b7388
scripts/semtag
@@ -584,7 +584,11 @@ case $ACTION in
584
final)
585
init
586
diff=$(git diff master | cat)
587
+ diff_dev=$(git diff develop | cat)
588
+ diff_v2=$(git diff v2 | cat)
589
if [ "$forcetag" == "false" ]; then
590
+ if [ -n "$diff_dev" ] && [ -n "$diff" ] && [ -n "$diff_v2" ]; then
591
+ echo "ERROR: Branch must be updated with develop, master, or v2 for final versions"
592
if [ -n "$diff" ]; then
593
echo "ERROR: Branch must be updated with master for final versions"
594
exit 1
@@ -623,4 +627,4 @@ case $ACTION in
623
627
*)
624
628
echo "'$ACTION' is not a valid command, see --help for available commands."
625
629
;;
626
-esac
630
+esac
0 commit comments