diff --git a/.github/workflows/publish-crates.yml b/.github/workflows/publish-crates.yml new file mode 100644 index 00000000..8698b185 --- /dev/null +++ b/.github/workflows/publish-crates.yml @@ -0,0 +1,31 @@ +# Publishes a release to crates.io +# +# To trigger this: +# +# - go to Actions > PublishRelease +# - click the Run Workflow dropdown in the top-right +# - enter the tag of the release as “Release Tag” (e.g. v0.3.18) +name: PublishCrates + +on: + workflow_call: + inputs: + plan: + required: true + type: string + +jobs: + # publish the current repo state to crates.io + cargo-publish: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + submodules: recursive + - run: cargo publish -p oranda-generate-css --token ${CRATES_TOKEN} + env: + CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} + - run: cargo publish -p oranda --token ${CRATES_TOKEN} + env: + CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 199f5f6a..124f749d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.6.3 - 2024-05-03 + +Lots of docs fixes and dependency updates thanks to @tshepang! + + ## 0.6.2 - 2024-02-23 oranda will now output `iem | iex` expressions wrapped in `powershell -c` so they can be run from cmd. diff --git a/Cargo.lock b/Cargo.lock index 104f561d..d8445849 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2214,7 +2214,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "oranda" -version = "0.6.2" +version = "0.6.3" dependencies = [ "ammonia", "assert_cmd", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "oranda-generate-css" -version = "0.6.2" +version = "0.6.3" dependencies = [ "axoasset 0.4.0", "camino", diff --git a/Cargo.toml b/Cargo.toml index 0894d0a9..948c4f2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "oranda" description = "🎁 generate beautiful landing pages for your projects" repository = "https://github.com/axodotdev/oranda" homepage = "https://opensource.axo.dev/oranda" -version = "0.6.2" +version = "0.6.3" edition = "2021" authors = ["Axo Developer Co. "] license = "MIT OR Apache-2.0" @@ -56,7 +56,7 @@ pathdiff = { version = "0.2.1", features = ["camino"] } minijinja = { version = "1.0.3", features = ["loader", "preserve_order", "custom_syntax"] } include_dir = "0.7.3" slug = "0.1.4" -oranda-generate-css = { version = "0.6.2", path = "generate-css" } +oranda-generate-css = { version = "0.6.3", path = "generate-css" } inquire = "0.6.2" url-escape = "0.1.1" rss = { version = "2.0.6", features = ["atom"] } diff --git a/generate-css/Cargo.toml b/generate-css/Cargo.toml index 374b6354..54453acd 100644 --- a/generate-css/Cargo.toml +++ b/generate-css/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oranda-generate-css" -version = "0.6.2" +version = "0.6.3" description = "the part of oranda that generates CSS" repository = "https://github.com/axodotdev/oranda" homepage = "https://opensource.axo.dev/oranda"