Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ricardodalarme/action-bump-pubspec-version
GitHub Action to help update the version of pubspec.yaml
https://github.com/ricardodalarme/action-bump-pubspec-version
actions dart flutter github pub pubspec
Last synced: about 2 months ago
JSON representation
GitHub Action to help update the version of pubspec.yaml
- Host: GitHub
- URL: https://github.com/ricardodalarme/action-bump-pubspec-version
- Owner: ricardodalarme
- License: mit
- Created: 2024-01-27T18:19:33.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-27T21:50:12.000Z (12 months ago)
- Last Synced: 2024-01-28T19:46:15.238Z (12 months ago)
- Topics: actions, dart, flutter, github, pub, pubspec
- Language: TypeScript
- Homepage:
- Size: 541 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pump Pubspec Version
This action helps you to bump the version of your pubspec.yaml file.
## Usage
The following is an example .github/workflows/main.yml that will execute when a push to the main branch occurs.
## Usage
The following is an example `.github/workflows/main.yml` that will execute when a `push` to the `main` branch occurs.
```yaml
on:
push:
branches:
- mainjobs:
build:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v3
- uses: ricardodalarme/bump-pubspec-version@main
with:
mode: "major" # major, minor, patch
consider_code: true
- uses: EndBug/add-and-commit@v9
```This **order** is important!
```yaml
- uses: actions/checkout@v3
- uses: ricardodalarme/bump-pubspec-version@main
```> If the repository is not checked out first, the script cannot find the properties file.