refactoring github workflow...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-09-15 18:50:12 +03:00
parent f6f1183637
commit 86a09aa065
3 changed files with 45 additions and 10 deletions

View File

@ -12,6 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Get version tag
id: version
uses: WyriHaximus/github-action-get-previous-tag@v1
with:
fallback: 0.1
- name: Build dist
uses: xu-cheng/texlive-action/full@v1
@ -39,18 +45,36 @@ jobs:
name: dist artifacts
path: dist/photobook*.zip
- name: Upload to CTAN
- name: Upload to CTAN (release)
uses: paolobrasolin/ctan-submit-action@v1
if: startsWith(github.ref, 'refs/tags/')
with:
action: upload
file_path: dist/CTAN/photobook.zip
fields: |
pkg: photobook
version: 0.0.1
version: ${{ steps.version.outputs.tag }}
author: Alex A. Naanou
email: alex.nanou@gmail.com
uploader: alex.nanou@gmail.com
uploader: Alex A. Naanou <alex.nanou@gmail.com>
license: bsd
summary: Document class for making photo books.
home: https://github.com/flynx/photobook
repository: https://github.com/flynx/photobook
summary: >
Document class for typesetting photo books.
description: >
The photobook LaTeX document class extends the book class
defining a set of parameters, meta-macros, macros and
environments with reasonable defaults to help typeset,
build and print books mainly based on visual/image content.
announcement: >
I'm happy to announce the initial release on CTAN of the
photobook document class.
The photobook class extends the book class defining a set
of parameters, meta-macros, macros and environments with
reasonable defaults to help typeset, build and print books
mainly based on visual/image content.

View File

@ -124,6 +124,7 @@ DIST_NAME := $(MODULE)-$(VERSION)-$(DATE)
DIST_DIR := dist
DIST_FILES = \
README.md \
LICENSE \
Makefile \
$(wildcard scripts/*) \
$(MODULE).cls \

View File

@ -9,12 +9,13 @@
The simplest way to get started is [TeX Live](https://www.tug.org/texlive/),
either a full install or for specific modules see the _Packages_ section
in [photobook.cls](./photobook.cls),
- U\*ix-like environment (`bash`, GNU Make, coreutils, ...),
- Un\*x-like environment (`bash`, GNU Make, coreutils, ...),
on Windows systems, either [Cygwin](https://www.cygwin.com/) or
[WSL/WSL2](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux)
should work fine.
## Build / Install
```shell
@ -34,9 +35,18 @@ $ make pdf
For more info on `make` targets see the: [./Makefile](./Makefile)
<!--
XXX ToDo:
- manual
- workflow
-->
## Authors
(Alex A. Naanou)[https://github.com/flynx]
## License
[BSD 3-Clause License](./LICENSE)
Copyright (c) 2021-2022, Alex A. Naanou,
All rights reserved.