fixed action to upload new versions to CTAN...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-11-14 01:21:11 +03:00
parent 97a5218858
commit 9a372bd6ec
2 changed files with 6 additions and 5 deletions

View File

@ -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 <alex.nanou@gmail.com>
license: bsd
license: bsd3
home: https://github.com/flynx/photobook
repository: https://github.com/flynx/photobook
summary: >

View File

@ -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