You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 weeks ago | |
|---|---|---|
| .. | ||
| tests/fixtures | 4 weeks ago | |
| Dockerfile | 2 months ago | |
| README.md | 2 months ago | |
| action.yml | 2 years ago | |
| main.py | 2 months ago | |
| test-local.sh | 2 months ago | |
README.md
Version Bump Action
A Github Action that will replace versions in JSON, PLIST, YAML, TOML, and XML files. Specifically created for interacting with AndroidManifest, iOS development plists, Helm Charts, Rust Cargo manifests, and Node package JSON files.
Supported file types:
- JSON:
package.json,package-lock.json(updatesversionandpackages[""].version) - PLIST: iOS Info.plist files
- XML: AndroidManifest.xml, .NET project files (.csproj, .props)
- YAML: Helm Chart.yaml files
- TOML: Cargo.toml files (updates
[package].versiononly)
Usage
- name: Bump Android Version
uses: ./version-bump
with:
version: ${{ inputs.version_number }}
file_path: './AndroidManifest.xml'
Local Testing
To build and test the Docker action locally, use the test-local.sh script:
# Test with default version (2123.4.5)
./test-local.sh
# Test with a specific version
./test-local.sh 2024.1.0
This script will:
- Build the Docker image locally
- Run the action against all test fixtures in
tests/fixtures/in a copied directory - Verify that version updates were applied correctly
- Display a summary of changes