From 9a372bd6ec602a4c3cb7730b0a7f37ae5e14dae3 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 14 Nov 2022 01:21:11 +0300 Subject: [PATCH] fixed action to upload new versions to CTAN... Signed-off-by: Alex A. Naanou --- .github/workflows/make-dist.yml | 3 ++- Makefile | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/make-dist.yml b/.github/workflows/make-dist.yml index f7ab8a0..a193b49 100644 --- a/.github/workflows/make-dist.yml +++ b/.github/workflows/make-dist.yml @@ -50,10 +50,11 @@ jobs: fields: | pkg: photobook version: ${{ env.VERSION }} + update: true author: Alex A. Naanou email: alex.nanou@gmail.com uploader: Alex A. Naanou - license: bsd + license: bsd3 home: https://github.com/flynx/photobook repository: https://github.com/flynx/photobook summary: > diff --git a/Makefile b/Makefile index 24fa243..0bff225 100644 --- a/Makefile +++ b/Makefile @@ -287,15 +287,15 @@ ctan-dist: dist .PHONY: tag tag: @echo "Will create and publish git tag:" - @echo " $(VERSION)" + @echo " v$(VERSION)" @echo "Last 5 tags:" - @git tag -l '[0-9]*'\ + @git tag -l 'v[0-9]*'\ | tail -n 5 \ | sed 's/^/ /' @echo "Note that this must be done after a commit." @read -p "(press any key to continue or ctrl-c to cancel)" - git tag "$(VERSION)" - git commit origin "$(VERSION)" + git tag "v$(VERSION)" + git push origin "v$(VERSION)" #.PHONY: publish