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.
1 parent 1c04db9 commit 821fd47Copy full SHA for 821fd47
update-submodules.sh
@@ -27,4 +27,8 @@
27
git submodule init
28
git submodule update
29
git submodule foreach git fetch
30
-git submodule foreach "tag=\$(git rev-list --tags --max-count=1); git checkout -q \$tag"
+
31
+# Regular release tags are 'x.x.x'. Exclude tags that are alpha or beta releases
32
+# They will contain a '-' in the tag, such as '3.0.0-beta.5'
33
+# --exclude must be before --tags.
34
+git submodule foreach "tag=\$(git rev-list --exclude='*-*' --tags --max-count=1); git checkout -q \$tag"
0 commit comments