Releases: danielsaidi/SwiftPackageScripts
2.0.2: Fix bug in framework workflow and make git script support fallback
2.0.2
💡 Changes
scripts/git-default-branch-name.shnow supports a fallback result.
🐛 Bug Fixes
github/workflows/xcframework.shhad an old script name reference.
2.0.1
This version makes StringCatalogKeyBuilder tool independent of SwiftPackageScripts. This solves a bug where it would crash in other package folders.
This version also fixes a bug where trying to use the CLI to write to a non-existing folder would not work, by upgrading both the l10n-gen script and the CLI tool.
💡 Changes
- The
StringCatalogKeyBuilderCLI tool now builds on all platforms.
🐛 Bug Fixes
scripts/l10n-genno longer fails if the target folder doesn't exist.tools/StringCatalogKeyBuilderno longer needs the main package to function.tools/StringCatalogKeyBuilderno longer fails if the target folder doesn't exist.
2.0.0
This version renames several scripts to use dashes instead of underline.
This version adds tools for generating public localization keys for a string catalog. This makes it possible to use a package's internal localization keys from other targets.
This version also adds a CLI tool called StringCatalogKeyBuilder and a script called l10n-gen.sh, which can generate a public localization key swift file for any package.
✨ Features
StringCatalogis a new struct that can parse Xcode string catalogs.scripts/l10n-gen.shis a new Terminal script for parsing string catalogs.scripts/sync-to.shandscripts/sync-from.shcan now sync.github/workflowstoo.scripts/tools/StringCatalogKeyBuilderis a new CLI tool for parsing string catalogs.
💡 Changes
-
Many scripts has been refactored to be more optimal.
-
All workflows now target the latest macOS and Xcode.
-
release.shnow callsrelease-validate-git.sh. -
release-validate-git.shnow usesgit-default-branch.sh. -
release-validate-package.shno longer callsrelease-validate-git.sh.
💥 Breaking changes
Due to the localized string key support, the package now targets iOS 16.
.github/workflows/binary_artifacts.ymlhas been renamed toxcframework.yml..github/workflows/version_bump.ymlhas been renamed toversion-bump.yml.scripts/chmod.shhas been renamed tochmod-all.sh.scripts/git_default_branch.shhas been renamed togit-default-branch.sh.scripts/release.shnow requires--branch|-bto pass in a branch.scripts/release-validate-git.shnow requires--branch|-bto pass in a branch.scripts/sync_from.shhas been renamed tosync-from.sh.sync_to.shhas been moved toscriptsand is renamed tosync-to.sh.scripts/validate_git_branch.shhas been renamed torelease-validate-git.sh.scripts/validate_release.shhas been renamed torelease-validate-package.sh.scripts/version_bump.shhas been renamed toversion-bump.sh.scripts/version_number.shhas been renamed toversion-number.sh.
1.2.1
This version makes binary_artifacts.yml name the container zip differently.
1.2.0
This version adds a updates xcframework-binaries.yml to upload unzipped files.
The binary artifact workflow has been adjusted to upload a container zip file, to avoid data loss.
✨ Features
version_bump.ymlis a new GitHub Actions workflow.version_bump.shhas new--typeand--versionparameters.
💡 Changes
xcframework-binaries.ymlis reneamed tobinary_artifacts.yml.xcframework-binaries.ymlnow uploads a container zip file that needs additional handling.
1.1.1
This version updates xcframework-binaries.yml to upload unzipped files.
✨ Features
framework.shhas a new--zipparameter.
💡 Changes
xcframework-binaries.ymlcallsframework.shwith--zip 0.
1.1.0
This version adds a new xcframework.yml GitHub workflow template, and adds new script parameters.
✨ Features
xcframework.ymlis a new GitHub workflow template.
💡 Changes
framework.shnow allows you to pass in--dsyms/-d 1to enable dSYM build.validate_release.shnow allows you to pass in--swiftlint 0to disable swiftlint.
1.0.1
This version updates docc.sh to support DocC hosted on a custom domain.
💡 Changes
docc.shnow allows you to pass in a--hosting-base-path.
1.0.0
This version updates all .github and scripts scripts.
✨ Features
scriptsare rewritten from scratch with better argument parsing and --help support.scriptsthat need a target now use the package name as default target, if possible.
💡 Changes
.githubno longer pass in repository name as target, which makes them less brittle.
💥 Breaking changes
scriptsnow use a different input argument format.scriptsno longer contains package-specific scripts.
0.4.3
This version makes version_validate scripts properly abort on error.
This version makes test automatically resolve any matching simulator.