diff --git a/.github/workflows/make-dist.yml b/.github/workflows/make-dist.yml index 0772f27..aaa53ac 100644 --- a/.github/workflows/make-dist.yml +++ b/.github/workflows/make-dist.yml @@ -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 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. + diff --git a/Makefile b/Makefile index bacb756..681ebd2 100644 --- a/Makefile +++ b/Makefile @@ -124,6 +124,7 @@ DIST_NAME := $(MODULE)-$(VERSION)-$(DATE) DIST_DIR := dist DIST_FILES = \ README.md \ + LICENSE \ Makefile \ $(wildcard scripts/*) \ $(MODULE).cls \ diff --git a/README.md b/README.md index f6e5a2b..da42fdc 100644 --- a/README.md +++ b/README.md @@ -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) - + +## Authors + +(Alex A. Naanou)[https://github.com/flynx] + + + +## License + +[BSD 3-Clause License](./LICENSE) + +Copyright (c) 2021-2022, Alex A. Naanou, +All rights reserved. +