diff options
-rwxr-xr-x | releasetag.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/releasetag.sh b/releasetag.sh index 90e2c27..a1ef8f5 100755 --- a/releasetag.sh +++ b/releasetag.sh @@ -33,19 +33,14 @@ set_color tag_repos () { dir=$( pwd ) cd "$REPLICANT_DIR" - - ALL_MIRROR_REPOS=$( repo forall -c ' echo "$REPO_REMOTE$REPO_PROJECT" | grep lineage-mirror \ - | cut -c15-' ) - ALL_REPLICANT_REPOS=$( repo forall -c ' echo "$REPO_REMOTE$REPO_PROJECT" | grep replicant \ - | cut -c10- | grep -v "manifest.git" || true ' ) TAGGING_CMD="echo \"Tagging $color_start \$REPO_PROJECT $color_end\" && \ git tag -u $RELEASE_KEY -m \"Replicant $VERSION $RELEASE images release\" \ \"replicant-$VERSION-$RELEASE\"" PUSHING_CMD="echo \"Pushing $color_start \$REPO_PROJECT $color_end\" && \ git push \"git@$PUSH_REMOTE:\$REPO_PROJECT\" \"replicant-$VERSION-$RELEASE\"" - repo forall $ALL_MIRROR_REPOS -c "$TAGGING_CMD && $PUSHING_CMD" - repo forall $ALL_REPLICANT_REPOS -c "$TAGGING_CMD && $PUSHING_CMD" + repo forall -c "$TAGGING_CMD && $PUSHING_CMD" + repo forall -c "$TAGGING_CMD && $PUSHING_CMD" cd "$dir" } |