Merge pull request #75 from DeveloperPaul123/release/0.7.0
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
echo "PKG_NAME=${PKG_PREFIX}" >> "${GITHUB_ENV}"
|
echo "PKG_NAME=${PKG_PREFIX}" >> "${GITHUB_ENV}"
|
||||||
echo "PKG_VERSION=${VERSION}" >> "${GITHUB_ENV}"
|
echo "PKG_VERSION=${VERSION}" >> "${GITHUB_ENV}"
|
||||||
|
|
||||||
if [[ "${GITHUB_REF_NAME}" != "v${VERSION}" ]]; then
|
if [[ "${GITHUB_REF_NAME}" != "${VERSION}" ]]; then
|
||||||
echo "package version ${VERSION} does not match release tag ${GITHUB_REF_NAME}" >&2
|
echo "package version ${VERSION} does not match release tag ${GITHUB_REF_NAME}" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
8
Justfile
8
Justfile
@@ -4,19 +4,19 @@ export TYPST_ROOT := root
|
|||||||
|
|
||||||
[private]
|
[private]
|
||||||
default:
|
default:
|
||||||
@just --list --unsorted
|
@just --list --unsorted
|
||||||
|
|
||||||
# generate manual
|
# generate manual
|
||||||
doc:
|
doc:
|
||||||
typst compile docs/manual.typ docs/manual.pdf
|
typst compile docs/manual.typ docs/manual.pdf
|
||||||
|
|
||||||
# run test suite
|
# run test suite
|
||||||
test *args:
|
test *args:
|
||||||
typst-test run {{ args }}
|
typst-test run {{ args }}
|
||||||
|
|
||||||
# update test cases
|
# update test cases
|
||||||
update *args:
|
update *args:
|
||||||
typst-test update {{ args }}
|
typst-test update {{ args }}
|
||||||
|
|
||||||
# package the library into the specified destination folder
|
# package the library into the specified destination folder
|
||||||
package target:
|
package target:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ See `typst fonts --help` for more information on configuring fonts for `typst` t
|
|||||||
Below is a basic example for a simple resume:
|
Below is a basic example for a simple resume:
|
||||||
|
|
||||||
```typst
|
```typst
|
||||||
#import "@preview/modern-cv:0.6.0": *
|
#import "@preview/modern-cv:0.7.0": *
|
||||||
|
|
||||||
#show: resume.with(
|
#show: resume.with(
|
||||||
author: (
|
author: (
|
||||||
|
|||||||
13
docs/release-checklist.md
Normal file
13
docs/release-checklist.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Release Checklist
|
||||||
|
|
||||||
|
This document outlines the steps required to prepare a new release of `modern-cv`.
|
||||||
|
|
||||||
|
Steps:
|
||||||
|
|
||||||
|
1. Create a new release branch with the format `release/x.y.z`.
|
||||||
|
2. Update the version in the `typst.toml`.
|
||||||
|
3. Update examples in the [README.md](../README.md) to reflect the new version.
|
||||||
|
4. Update templates to import the correct version.
|
||||||
|
5. Do a final compilation/export check of all the templates.
|
||||||
|
6. Ensure that tests pass.
|
||||||
|
7. Ensure that the documentation manual builds.
|
||||||
Reference in New Issue
Block a user