Skip to content

Commit

Permalink
feat: add a PHP file to test semantic-release-version-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
adekbadek committed Jan 21, 2020
1 parent 46164b2 commit 3889f3a
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
25 changes: 25 additions & 0 deletions package-lock.json

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

11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,23 @@
"commitizen": "^3.0.5",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.2.0",
"semantic-release": "^15.12.3"
"semantic-release": "^15.12.3",
"semantic-release-version-bump": "^1.0.0"
},
"release": {
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
[
"semantic-release-version-bump",
{
"files": "some-file.php"
}
],
{
"path": "@semantic-release/git",
"assets": [
"some-file.php",
"package.json",
"package-lock.json",
"CHANGELOG.md"
Expand All @@ -44,6 +52,7 @@
"npmPublish": false
}
],
"semantic-release-version-bump",
[
"@semantic-release/github",
{
Expand Down
7 changes: 7 additions & 0 deletions some-file.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
/**
* Name: Some file
* Version: 1.0.0-alpha.22
*
* @package Some_File
*/

0 comments on commit 3889f3a

Please sign in to comment.