-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
9 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,9 @@ sdk-publish: | |
RUN apk update && apk add yq git | ||
WORKDIR /src | ||
GIT CLONE https://github.com/formancehq/formance-sdk-${LANG}.git ./sdks/${LANG} | ||
COPY --dir ./sdks/generate/${LANG} ./sdks/${LANG} | ||
RUN rm -rf ./sdks/${LANG}/* | ||
RUN rm -rf ./sdks/${LANG}/.github/* | ||
COPY --dir ./sdks/${LANG} ./sdks/ | ||
WORKDIR /src/sdks/${LANG} | ||
RUN git config --global user.email "[email protected]" | ||
RUN git config --global user.name "NumaryBot" | ||
|
@@ -39,7 +41,7 @@ sdk-publish: | |
RUN git commit -m "release(sdk): ${version}" | ||
RUN git remote remove origin | ||
RUN --secret GITHUB_TOKEN git remote add origin https://${GITHUB_TOKEN}@github.com/formancehq/formance-sdk-${LANG}.git | ||
RUN --secret GITHUB_TOKEN git push origin release/${version_full} --force | ||
RUN --secret GITHUB_TOKEN git push origin release/${version} --force | ||
|
||
sdk-generate-all: | ||
ARG --required version | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ features: | |
globalSecurity: 2.81.1 | ||
globalServerURLs: 2.82.0 | ||
java: | ||
version: "" | ||
version: v2.0.0-beta.2 | ||
artifactID: formance-sdk | ||
companyEmail: [email protected] | ||
companyName: Formance | ||
|
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