From: Don Zickus <dzic...@redhat.com>

CI: Remove stale TAG and Makefile cruft

The TAG variable turned into _TAG but the ci scripts were never updated
to reflect that.  No one noticed for over a year, therefore it must not
be important.

Also dist-merge-upstream had a branch check as a safety valve to prevent
accidentally losing changes to testing by switching branches.  Later a
'git-tree-check' was added to prevent the script from running on a dirty
tree.  The latter is more useful than the former.  Remove the former.

Signed-off-by: Don Zickus <dzic...@redhat.com>

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -795,22 +795,14 @@ git-tree-check:
                { echo -e "Dirty tree, please clean before merging.\n"; exit 1; 
}
 
 dist-merge-upstream: git-tree-check
-       @if test "$(shell $(GIT) branch --show-current)" != "$(DIST_BRANCH)"; 
then \
-               echo -e "Please checkout $(DIST_BRANCH) branch before 
merging.\n"; \
-               exit 1; \
-               fi;
-
-       @# If TAG is empty, script defaults to master:HEAD
-       @$(GIT) checkout $(DIST_BRANCH)
-       @cd ..; $(REDHAT)/scripts/ci/ark-update-configs.sh $(TAG)
+       @cd ..; $(REDHAT)/scripts/ci/ark-update-configs.sh
 
 dist-merge-upstream-push: export DIST_PUSH="1"
 dist-merge-upstream-push: dist-merge-upstream
 
 dist-fedora-release: git-tree-check
 
-       @# If TAG is empty, script defaults to master:HEAD
-       @cd ..; $(REDHAT)/scripts/ci/ark-create-release.sh $(TAG) || \
+       @cd ..; $(REDHAT)/scripts/ci/ark-create-release.sh || \
                (echo "Unable to create release tag"; exit 1)
 
 dist-fedora-release-push: export DIST_PUSH="1"

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2517
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to