Skip to content

Commit

Permalink
Merge pull request #13 from fingerprintjs/ci/fix-release
Browse files Browse the repository at this point in the history
build(release): fix releases not updating package.json's version field
  • Loading branch information
necipallef authored May 3, 2023
2 parents 68da3d3 + 93423e4 commit 50fa812
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@
}
],
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yarn build"
}
],
[
"@semantic-release/git",
{
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@rollup/plugin-typescript": "^8.3.3",
"@segment/public-api-sdk-typescript": "^34.3.4-b6579",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "8.0.4",
"@semantic-release/npm": "9.0.1",
Expand All @@ -57,6 +58,7 @@
"dotenv": "^16.0.3",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"jest": "^28.1.1",
Expand All @@ -72,7 +74,6 @@
"semantic-release": "19.0.3",
"ts-jest": "^28.0.5",
"typedoc": "^0.22.17",
"typescript": "^4.7.4",
"eslint-config-react-app": "^7.0.1"
"typescript": "^4.7.4"
}
}
2 changes: 1 addition & 1 deletion resources/license_banner.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FingerprintJS Pro Segment Source Function v<%= pkg.version %> - Copyright (c) FingerprintJS, Inc, <%= new Date().getFullYear() %> (https://fingerprint.com)
Fingerprint Pro Segment Source Function v<%= pkg.version %> - Copyright (c) FingerprintJS, Inc, <%= new Date().getFullYear() %> (https://fingerprint.com)
Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2117,6 +2117,18 @@
resolved "https://registry.yarnpkg.com/@semantic-release/error/-/error-3.0.0.tgz#30a3b97bbb5844d695eb22f9d3aa40f6a92770c2"
integrity sha512-5hiM4Un+tpl4cKw3lV4UgzJj+SmfNIDCLLw0TepzQxz9ZGV5ixnqkzIVF+3tp0ZHgcMKE+VNGHJjEeyFG2dcSw==

"@semantic-release/exec@^6.0.3":
version "6.0.3"
resolved "https://registry.yarnpkg.com/@semantic-release/exec/-/exec-6.0.3.tgz#d212fdf19633bdfb553de6cb6c7f8781933224db"
integrity sha512-bxAq8vLOw76aV89vxxICecEa8jfaWwYITw6X74zzlO0mc/Bgieqx9kBRz9z96pHectiTAtsCwsQcUyLYWnp3VQ==
dependencies:
"@semantic-release/error" "^3.0.0"
aggregate-error "^3.0.0"
debug "^4.0.0"
execa "^5.0.0"
lodash "^4.17.4"
parse-json "^5.0.0"

"@semantic-release/git@10.0.1":
version "10.0.1"
resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-10.0.1.tgz#c646e55d67fae623875bf3a06a634dd434904498"
Expand Down

0 comments on commit 50fa812

Please sign in to comment.