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: | fields: |
pkg: photobook pkg: photobook
version: ${{ env.VERSION }} version: ${{ env.VERSION }}
update: true
author: Alex A. Naanou author: Alex A. Naanou
email: alex.nanou@gmail.com email: alex.nanou@gmail.com
uploader: Alex A. Naanou <alex.nanou@gmail.com> uploader: Alex A. Naanou <alex.nanou@gmail.com>
license: bsd license: bsd3
home: https://github.com/flynx/photobook home: https://github.com/flynx/photobook
repository: https://github.com/flynx/photobook repository: https://github.com/flynx/photobook
summary: > summary: >

View File

@ -287,15 +287,15 @@ ctan-dist: dist
.PHONY: tag .PHONY: tag
tag: tag:
@echo "Will create and publish git tag:" @echo "Will create and publish git tag:"
@echo " $(VERSION)" @echo " v$(VERSION)"
@echo "Last 5 tags:" @echo "Last 5 tags:"
@git tag -l '[0-9]*'\ @git tag -l 'v[0-9]*'\
| tail -n 5 \ | tail -n 5 \
| sed 's/^/ /' | sed 's/^/ /'
@echo "Note that this must be done after a commit." @echo "Note that this must be done after a commit."
@read -p "(press any key to continue or ctrl-c to cancel)" @read -p "(press any key to continue or ctrl-c to cancel)"
git tag "$(VERSION)" git tag "v$(VERSION)"
git commit origin "$(VERSION)" git push origin "v$(VERSION)"
#.PHONY: publish #.PHONY: publish