build: replace remaining uses of SHA1_FILE
authorDavid Bremner <david@tethera.net>
Mon, 13 Mar 2017 01:31:16 +0000 (22:31 -0300)
committerDavid Bremner <david@tethera.net>
Mon, 13 Mar 2017 01:31:16 +0000 (22:31 -0300)
oops. If only there was some editor facility that allowed replacing
all instances of a string.

Makefile.local

index d2ef3e080b7b266f46d894a59c6fb61c04124e5c..e75b6eae040d41b8195a59447fadfb0a03c41f9d 100644 (file)
@@ -70,11 +70,11 @@ release: verify-source-tree-and-version
        pristine-tar commit $(DEB_TAR_FILE) $(UPSTREAM_TAG)
        git tag -s -m "$(PACKAGE) Debian $(VERSION)-1 upload (same as $(VERSION))" $(DEB_TAG)
        mkdir -p releases
-       mv $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) releases
+       mv $(TAR_FILE) $(SHA256_FILE) $(GPG_FILE) releases
        $(MAKE) VERSION=$(VERSION) release-message > $(PACKAGE)-$(VERSION).announce
 ifeq ($(REALLY_UPLOAD),yes)
        git push origin $(VERSION)
-       cd releases && scp $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) $(RELEASE_HOST):$(RELEASE_DIR)
+       cd releases && scp $(TAR_FILE) $(SHA256_FILE) $(GPG_FILE) $(RELEASE_HOST):$(RELEASE_DIR)
        ssh $(RELEASE_HOST) "rm -f $(RELEASE_DIR)/LATEST-$(PACKAGE)-* ; ln -s $(TAR_FILE) $(RELEASE_DIR)/LATEST-$(TAR_FILE)"
 endif
        @echo "Please send a release announcement using $(PACKAGE)-$(VERSION).announce as a template."
@@ -114,9 +114,9 @@ release-message:
        @echo ""
        @echo "Which can be verified with:"
        @echo ""
-       @echo "  $(RELEASE_URL)/$(SHA1_FILE)"
+       @echo "  $(RELEASE_URL)/$(SHA256_FILE)"
        @echo -n "  "
-       @cat releases/$(SHA1_FILE)
+       @cat releases/$(SHA256_FILE)
        @echo ""
        @echo "  $(RELEASE_URL)/$(GPG_FILE)"
        @echo "  (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)"