]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Bump version number for 0.7.5 release (#241)
authorSimon Cozens <simon@simon-cozens.org>
Fri, 18 Jul 2025 10:29:13 +0000 (11:29 +0100)
committerGitHub <noreply@github.com>
Fri, 18 Jul 2025 10:29:13 +0000 (11:29 +0100)
* Maybe auto publish crate too

* This is 0.7.5

.github/workflows/publish-release.yml
Cargo.toml

index 3ebe2f60ff8db4bcb8d11df992cb9bb47f50ae11..da51dc03c7d5007bb54ad1a292c11447c18c3c62 100644 (file)
@@ -80,3 +80,28 @@ jobs:
         with:
           # repository-url: https://test.pypi.org/legacy/ # for testing purposes
           verify-metadata: false # twine previously didn't verify metadata when uploading
+
+  rust:
+    name: Publish Rust ðŸ¦€ distribution ðŸ“¦ to crates.io
+    runs-on: ubuntu-latest
+    permissions:
+        contents: write
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          submodules: recursive
+          fetch-depth: 0
+      - name: Set up Rust
+
+        uses: actions-rust-lang/setup-rust-toolchain@v1
+        
+      - name: Check tag name matches Cargo.toml version
+        run: |-
+          TAG_NAME=${GITHUB_REF/refs\/tags\/v/}
+          CARGO_VERSION=$(cargo pkgid | sed 's/.*@//')
+          if [ "$TAG_NAME" != "$CARGO_VERSION" ]; then
+            echo "Tag name ($TAG_NAME) does not match Cargo.toml version ($CARGO_VERSION)"
+            exit 1
+          fi
+      - name: Publish Rust distribution ðŸ“¦ to crates.io
+        run: cargo publish --token "${{ secrets.CRATES_IO_API_TOKEN }}"
\ No newline at end of file
index 09d244a7775066374aea073c05ccb295ace000a6..6b8983af45bb4acb30827630e847707008aefaad 100644 (file)
@@ -1,6 +1,6 @@
 [package]
 name = "google-fonts-languages"
-version = "0.7.4"
+version = "0.7.5"
 edition = "2021"
 description = "Google Fonts script and language support data"
 repository = "https://github.com/googlefonts/lang"