Skip to content

Commit

Permalink
Added bump_version script
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnylot committed Dec 10, 2019
1 parent 15bf9ab commit 82fcd27
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .bump-version.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
// GENERATED by bump_version
return [
'master_branch' => 'master',
'develop_branch' => 'develop',
'version_file' => __DIR__ . '/VERSION',
// 'define_version_file' => __DIR__ . '/app/version.php', // you can add a 'PHP accessible' define with the current version
// 'define_version_name' => 'APP_VERSION', // the define name
// 'changelog_file' => __DIR__ . '/CHANGELOG', // A basic CHANGELOG
'release_branches' => ['hotfix' => 'hotfix-*', 'release' => 'release-*'], // The branches you should release on
];
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"type": "library",
"require": {
"guzzlehttp/guzzle": "^6.4",
"illuminate/validation": "^6.6"
"illuminate/validation": "^6.6",
"quazardous/php-bump-version": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.4"
Expand Down
83 changes: 82 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 82fcd27

Please sign in to comment.