Skip to content

Commit

Permalink
chore: Add SILE rock publication to release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Oct 21, 2024
1 parent 59097db commit cac341f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ keys:
test -v MATURIN_PYPI_TOKEN

release semver: pristine keys
make rockspecs/decasify{,.nvim}-{{semver}}-1.rockspec
make rockspecs/decasify{,.nvim,.sile}-{{semver}}-1.rockspec
sed -i -e '/^version/s/".*"/"{{semver}}"/' Cargo.toml
sed -i -e "/^decasify =/s/\".*\"/\"${${:-{{semver}}}%\.*}\"/" README.md
make SEMVER={{semver}} CHANGELOG.md decasify-{{semver}}.md -B
cargo build
git add Cargo.{toml,lock} README.md CHANGELOG.md rockspecs/decasify{,.nvim}-{{semver}}-1.rockspec
git add Cargo.{toml,lock} README.md CHANGELOG.md rockspecs/decasify{,.nvim,.sile}-{{semver}}-1.rockspec
git commit -m "chore: Release v{{semver}}"
git tag -s v{{semver}} -F decasify-{{semver}}.md
./config.status && make
Expand All @@ -39,9 +39,9 @@ release semver: pristine keys

post-release semver: keys
wget https://files.pythonhosted.org/packages/cp312/d/decasify/decasify-{{semver}}-cp312-cp312-manylinux_2_34_x86_64.whl
wget https://luarocks.org/manifests/alerque/decasify{,.nvim}-{{semver}}-1.src.rock
wget https://luarocks.org/manifests/alerque/decasify{,.nvim,.sile}-{{semver}}-1.src.rock
gh release download v{{semver}}
ls decasify-{{semver}}-cp312-cp312-manylinux_2_34_x86_64.whl decasify{,.nvim}-{{semver}}-1.src.rock decasify-{{semver}}.{tar.zst,zip} | xargs -n1 gpg -a --detach-sign
gh release upload v{{semver}} decasify-{{semver}}-cp312-cp312-manylinux_2_34_x86_64.whl{,.asc} decasify{,.nvim}-{{semver}}-1.src.rock{,.asc} decasify-{{semver}}.{tar.zst,zip}.asc
ls decasify-{{semver}}-cp312-cp312-manylinux_2_34_x86_64.whl decasify{,.nvim,.sile}-{{semver}}-1.src.rock decasify-{{semver}}.{tar.zst,zip} | xargs -n1 gpg -a --detach-sign
gh release upload v{{semver}} decasify-{{semver}}-cp312-cp312-manylinux_2_34_x86_64.whl{,.asc} decasify{,.nvim,.sile}-{{semver}}-1.src.rock{,.asc} decasify-{{semver}}.{tar.zst,zip}.asc

# vim: set ft=just

0 comments on commit cac341f

Please sign in to comment.