@@ -18,7 +18,7 @@ This guide covers the deployment and release process for the CGo-free Tokenizers
1818
19193 . ** Monitor the build:**
2020 - Go to GitHub Actions tab
21- - Watch the "Build and Release" workflow
21+ - Watch the ` rust-release.yml ` and ` go-release.yml ` workflows
2222 - Release will be created automatically when complete
2323
2424## Supported Platforms
@@ -31,13 +31,14 @@ The CI system builds for the following platforms:
3131| Linux | ARM64 | ` aarch64-unknown-linux-gnu ` | ` libtokenizers.so ` |
3232| macOS | Intel | ` x86_64-apple-darwin ` | ` libtokenizers.dylib ` |
3333| macOS | Apple Silicon | ` aarch64-apple-darwin ` | ` libtokenizers.dylib ` |
34- | Windows | x86_64 | ` x86_64-pc-windows-msvc ` | ` libtokenizers .dll` |
34+ | Windows | x86_64 | ` x86_64-pc-windows-msvc ` | ` tokenizers .dll` |
3535
3636## Release Assets
3737
3838Each release includes:
3939
4040- ** Platform-specific archives** : ` libtokenizers-{arch}-{platform}.tar.gz `
41+ - ** Manifest checksum file** : ` SHA256SUMS ` (primary verification source)
4142- ** Checksum files** : ` libtokenizers-{arch}-{platform}.tar.gz.sha256 `
4243- ** Automatic release notes** : Generated from commits and PRs
4344
@@ -47,20 +48,20 @@ The Go library automatically downloads the appropriate platform library:
4748
4849``` go
4950// Automatic download
50- tokenizer , err := tokenizers.FromFile (" config.json" ,
51- tokenizers.WithDownloadLibrary ())
51+ tokenizer , err := tokenizers.FromFile (" config.json" )
5252
5353// Manual path
5454tokenizer , err := tokenizers.FromFile (" config.json" ,
5555 tokenizers.WithLibraryPath (" /path/to/lib" ))
5656```
5757
58+ Downloads are attempted from ` releases.amikos.tech ` first and fall back to GitHub Releases if needed.
59+
5860## Environment Variables
5961
6062### For Users
6163
6264- ` TOKENIZERS_LIB_PATH ` : Override library path
63- - ` TOKENIZERS_GITHUB_REPO ` : Custom repository for downloads
6465- ` TOKENIZERS_VERSION ` : Specific version to download
6566
6667### For CI/CD
@@ -97,7 +98,7 @@ make create-release-assets
9798
9899``` bash
99100# Run all tests
100- make test-v2
101+ make test
101102
102103# Test download functionality
103104make test-download
@@ -113,15 +114,15 @@ make test-rust
113114- ** Purpose** : Basic testing and validation
114115- ** Platforms** : Linux, macOS, Windows
115116
116- ### 2. Build and Release (` build-and -release.yml` )
117- - ** Trigger** : Git tags (` v* ` )
118- - ** Purpose** : Create releases with all platform assets
119- - ** Features** : Cross-compilation, checksum generation, automatic releases
117+ ### 2. Rust Release (` rust -release.yml` )
118+ - ** Trigger** : Rust tags (` rust- v*` )
119+ - ** Purpose** : Build and publish platform assets to releases endpoint
120+ - ** Features** : Cross-compilation, ` SHA256SUMS ` + per-asset checksums, artifact publishing
120121
121- ### 3. Cross Compilation Test ( ` cross-compile .yml` )
122- - ** Trigger** : Changes to Rust code
123- - ** Purpose** : Verify cross-compilation works
124- - ** Targets ** : All supported platforms + additional variants
122+ ### 3. Go Release ( ` go-release .yml` )
123+ - ** Trigger** : Go tags ( ` v* ` )
124+ - ** Purpose** : Validate and publish Go module releases
125+ - ** Features ** : Tests against released Rust artifacts and publishes module release
125126
126127### 4. Download Test (` test-download.yml ` )
127128- ** Trigger** : Weekly schedule, manual dispatch
@@ -208,4 +209,4 @@ For deployment issues:
2082091 . Check the [ CI/CD documentation] ( CI-CD.md )
2092102 . Review GitHub Actions logs
2102113 . Test locally with provided scripts
211- 4 . Open an issue with detailed error information
212+ 4 . Open an issue with detailed error information
0 commit comments