From d77f3ea34502756b1b0f8ba598b7377fc4c341ad Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 14 Nov 2022 02:05:16 +0300 Subject: [PATCH] removed the x bit from non-script files in the dist + tweaks... Signed-off-by: Alex A. Naanou --- .github/workflows/make-dist.yml | 2 +- Makefile | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make-dist.yml b/.github/workflows/make-dist.yml index 7803b15..990b165 100644 --- a/.github/workflows/make-dist.yml +++ b/.github/workflows/make-dist.yml @@ -42,7 +42,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: dist artifacts - path: dist/photobook*.zip + path: dist/photobook-*.zip - name: Upload to CTAN (release) uses: paolobrasolin/ctan-submit-action@v1 diff --git a/Makefile b/Makefile index 0bff225..499f9c8 100644 --- a/Makefile +++ b/Makefile @@ -119,11 +119,12 @@ BUILD_DIR := build #DIST_NAME := $(MODULE)-$(VERSION) DIST_NAME := $(MODULE)-$(VERSION)-$(DATE) DIST_DIR := dist +DIST_SCRIPTS = \ + $(wildcard scripts/*) DIST_FILES = \ README.md \ LICENSE \ Makefile \ - $(wildcard scripts/*) \ $(MODULE).cls \ $(MODULE).pdf # Add these when ready... @@ -268,9 +269,10 @@ manual: .PHONY: dist -dist: $(DIST_FILES) +dist: $(DIST_FILES) $(DIST_SCRIPTS) $(MD) $(DIST_DIR) - zip -Drq $(DIST_DIR)/$(DIST_NAME).zip $(DIST_FILES) + chmod 644 $(DIST_FILES) + zip -Drq $(DIST_DIR)/$(DIST_NAME).zip $(DIST_FILES) $(DIST_SCRIPTS) # Place everything in the module dir as per CTAN spec... zipnote $(DIST_DIR)/$(DIST_NAME).zip \ | sed 's/^\@ \([^(].*\)$$/@ \1\n@=$(MODULE)\/\1/' \