diff --git a/CHANGELOG.md b/CHANGELOG.md index 9481b92..f9d484d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. +## [1.9.3] - 2024-03-12 + +#### Added + +- Information about automatic test scripts. + ## [1.9.2] - 2024-03-07 #### Added diff --git a/README.md b/README.md index 4eb2879..ad94bc3 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,25 @@ If you prefer not to use either of the aforementioned dependency managers, you c ## Build & test +### Bash script + +For tests on popular iOS versions you just call script: + +```bash +sh Scripts/release.sh +``` + +The same script can prepare release with detection version from [CHANGELOG](CHANGELOG.md) and you can use it for tag new version. +For the creating release notes I use [GL](https://cli.github.com/manual/gh), installed and setup and call next script: + +```bash +brew install gh +gh auth login +sh Scripts/releasenotes.sh +``` + +### Manually + Just open `Example/NavigationExample/NavigationExample.xcodeproj` from Xcode and you can build, test this from IDE. ## Using diff --git a/Scripts/releasenotes.sh b/Scripts/releasenotes.sh index 5ce4fb1..74574fb 100644 --- a/Scripts/releasenotes.sh +++ b/Scripts/releasenotes.sh @@ -50,6 +50,11 @@ echo "Start upload release to GitHub" # GitHub CLI api # https://cli.github.com/manual/gh_api # I change '$CURRENT_VERSION' to "$CURRENT_VERSION" +# If you need auth GitHub on Runner: +# 1. install gh: `brew install gh` +# 2. Start interactive setup `gh auth login` +# 3. More: https://cli.github.com/manual/gh +# About create Release API: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release gh api \ --method POST \