Skip to content

Commit

Permalink
add prerelease link replacement for [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
sojingle committed Nov 19, 2024
1 parent 2c4f36a commit 9537a39
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,25 @@ module.exports = {
],
"countMatches": true
},
{
"files": ["[email protected]"],
"from": "https://github.com/amplitude/analytics-connector-ios/releases/download/v.*/AnalyticsConnector.xcframework.zip",
"to": "https://github.com/amplitude/analytics-connector-ios/releases/download/v${nextRelease.version}/AnalyticsConnector.xcframework.zip",
"results": [
{
"file": "[email protected]",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
},
]
}
],
["@semantic-release/git", {
"assets": ["AnalyticsConnector.podspec", "CHANGELOG.md", "Package.swift"],
"assets": ["AnalyticsConnector.podspec", "CHANGELOG.md", "Package.swift", "[email protected]"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
["@semantic-release/exec", {
Expand Down

0 comments on commit 9537a39

Please sign in to comment.