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.
 
 
 
 
 
renovate[bot] f95f85d054
[deps]: Update AWSSDK.KeyManagementService to v4 (#395)
4 weeks ago
..
tests/fixtures [deps]: Update AWSSDK.KeyManagementService to v4 (#395) 4 weeks ago
Dockerfile [BRE-1264] Adding support for TOML and a local test file (#461) 2 months ago
README.md Cleanup of workflow files for Zizmor changes (#434) 2 months ago
action.yml DEVOPS-1840 - Add version-next action (#264) 2 years ago
main.py [BRE-1264] Adding support for TOML and a local test file (#461) 2 months ago
test-local.sh [BRE-1264] Adding support for TOML and a local test file (#461) 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 (updates version and packages[""].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].version only)

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:

  1. Build the Docker image locally
  2. Run the action against all test fixtures in tests/fixtures/ in a copied directory
  3. Verify that version updates were applied correctly
  4. Display a summary of changes