Skip to content

Commit

Permalink
Change publishing strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasKroepelin committed Jan 25, 2025
1 parent d569e2b commit 3c4df2e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
33 changes: 14 additions & 19 deletions scripts/extract-package.fish
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
function extract-package
if test (git branch --show-current) != "release"
echo "You are not on the release branch!"
return 1
end

set target $argv[1]
pwd
mkdir -p $target
cp README.md $target
cp LICENSE $target
cp typst.toml $target
cp polylux.typ $target
cp logic.typ $target
mkdir -p $target/themes
cp themes/* $target/themes
mkdir -p $target/utils
cp utils/* $target/utils
echo "Done"
if test (git branch --show-current) != release
echo "You are not on the release branch!"
return 1
end

set target $argv[1]
pwd
mkdir -p $target
cp README.md $target
cp LICENSE $target
cp typst.toml $target
cp -a src $target
cp -a examples $target
cp -a assets $target
echo Done
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ authors = ["Andreas Kröpelin", "contributors"]
license = "MIT"
description = "Presentation slides creation with Typst"
repository = "https://github.com/andreasKroepelin/polylux"
exclude = ["README.md"]
exclude = ["README.md", "examples", "assets"]

0 comments on commit 3c4df2e

Please sign in to comment.