mirror of
https://github.com/flynx/photobook.git
synced 2025-11-01 03:40:10 +00:00
refactoring github workflow...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f6f1183637
commit
86a09aa065
32
.github/workflows/make-dist.yml
vendored
32
.github/workflows/make-dist.yml
vendored
@ -13,6 +13,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- name: Build dist
|
||||||
uses: xu-cheng/texlive-action/full@v1
|
uses: xu-cheng/texlive-action/full@v1
|
||||||
with:
|
with:
|
||||||
@ -39,18 +45,36 @@ jobs:
|
|||||||
name: dist artifacts
|
name: dist artifacts
|
||||||
path: dist/photobook*.zip
|
path: dist/photobook*.zip
|
||||||
|
|
||||||
- name: Upload to CTAN
|
- name: Upload to CTAN (release)
|
||||||
uses: paolobrasolin/ctan-submit-action@v1
|
uses: paolobrasolin/ctan-submit-action@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
action: upload
|
action: upload
|
||||||
file_path: dist/CTAN/photobook.zip
|
file_path: dist/CTAN/photobook.zip
|
||||||
fields: |
|
fields: |
|
||||||
pkg: photobook
|
pkg: photobook
|
||||||
version: 0.0.1
|
version: ${{ steps.version.outputs.tag }}
|
||||||
author: Alex A. Naanou
|
author: Alex A. Naanou
|
||||||
email: alex.nanou@gmail.com
|
email: alex.nanou@gmail.com
|
||||||
uploader: alex.nanou@gmail.com
|
uploader: Alex A. Naanou <alex.nanou@gmail.com>
|
||||||
license: bsd
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1
Makefile
1
Makefile
@ -124,6 +124,7 @@ DIST_NAME := $(MODULE)-$(VERSION)-$(DATE)
|
|||||||
DIST_DIR := dist
|
DIST_DIR := dist
|
||||||
DIST_FILES = \
|
DIST_FILES = \
|
||||||
README.md \
|
README.md \
|
||||||
|
LICENSE \
|
||||||
Makefile \
|
Makefile \
|
||||||
$(wildcard scripts/*) \
|
$(wildcard scripts/*) \
|
||||||
$(MODULE).cls \
|
$(MODULE).cls \
|
||||||
|
|||||||
22
README.md
22
README.md
@ -9,12 +9,13 @@
|
|||||||
The simplest way to get started is [TeX Live](https://www.tug.org/texlive/),
|
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
|
either a full install or for specific modules see the _Packages_ section
|
||||||
in [photobook.cls](./photobook.cls),
|
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
|
on Windows systems, either [Cygwin](https://www.cygwin.com/) or
|
||||||
[WSL/WSL2](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux)
|
[WSL/WSL2](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux)
|
||||||
should work fine.
|
should work fine.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Build / Install
|
## Build / Install
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@ -34,9 +35,18 @@ $ make pdf
|
|||||||
For more info on `make` targets see the: [./Makefile](./Makefile)
|
For more info on `make` targets see the: [./Makefile](./Makefile)
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
XXX ToDo:
|
## Authors
|
||||||
- manual
|
|
||||||
- workflow
|
(Alex A. Naanou)[https://github.com/flynx]
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[BSD 3-Clause License](./LICENSE)
|
||||||
|
|
||||||
|
Copyright (c) 2021-2022, Alex A. Naanou,
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user