-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: reorganise apollo and remove unused modules (#106)
Co-authored-by: Anton Baliasnikov <anton.baliasnikov@iohk.io> Co-authored-by: Ahmed Moussa <ahmed.moussa@iohk.io> Signed-off-by: Goncalo Frade <goncalo.frade@iohk.io>
- Loading branch information
1 parent
68d354b
commit d8498cf
Showing
238 changed files
with
27,834 additions
and
22,919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ Pods/ | |
*.jks | ||
*yarn.lock | ||
JSLibs/iohk-crypto/node_modules | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
branches: | ||
- name: "main" | ||
- name: "release/*" | ||
prerelease: "snapshot" | ||
|
||
plugins: | ||
- "@semantic-release/commit-analyzer" | ||
- "@semantic-release/release-notes-generator" | ||
- ["@semantic-release/changelog", {changelogFile: "CHANGELOG.md"}] | ||
- "gradle-semantic-release-plugin" | ||
- [ '@semantic-release/exec', { | ||
prepareCmd: './gradlew :apollo:createSwiftPackage' } ] | ||
- [ '@semantic-release/exec', { | ||
prepareCmd: '(cd ./apollo/build/packages/ApolloSwift && zip -r "Apollo.xcframework.zip" Apollo.xcframework)' } ] | ||
- [ '@semantic-release/exec', { | ||
prepareCmd: "rm -f Package.swift && ./.scripts/updatePackage.swift ${nextRelease.version} \"$(swift package compute-checksum 'apollo/build/packages/ApolloSwift/Apollo.xcframework.zip')\" ./.scripts/TemplatePackage.swift Package.swift" } ] | ||
- [ | ||
"@semantic-release/git", | ||
{ | ||
assets: [ | ||
"CHANGELOG.md", | ||
"gradle.properties", | ||
], | ||
message: "chore(release): cut apollo version ${nextRelease.version} | ||
${nextRelease.notes}", | ||
}, | ||
] | ||
- [ | ||
"@semantic-release/github", | ||
{ | ||
"assets": [ | ||
{ "path": "apollo/build/packages/ApolloSwift/Apollo.xcframework.zip", "label": "Apollo.xcframework.zip" }, | ||
] | ||
} | ||
] | ||
- [ | ||
"semantic-release-slack-bot", | ||
{ | ||
notifyOnSuccess: true, | ||
notifyOnFail: true, | ||
markdownReleaseNotes: true, | ||
onSuccessTemplate: | ||
{text: "A new version of `$package_name` successfully released!\n | ||
Version: `v$npm_package_version`\n | ||
Tag: $repo_url/releases/tag/v$npm_package_version\n | ||
\n | ||
Release notes:\n | ||
$release_notes"}, | ||
}, | ||
] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.