Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/scripts/generate-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ RECONCILIATION_VERSION=$(extract_version "RECONCILIATION_VERSION")
GATEWAY_VERSION=$(extract_version "GATEWAY_VERSION")
CONNECTIVITY_VERSION=$(extract_version "CONNECTIVITY_VERSION")

if [[ "$LEDGER_VERSION" == v* ]]; then
LEDGER_LINK="[Release notes](https://github.com/formancehq/ledger/releases/tag/${LEDGER_VERSION})"
else
LEDGER_LINK="[Source](https://github.com/formancehq/ledger/tree/${LEDGER_VERSION})"
fi

# Connectivity can be pinned to a branch until its releases publish an OpenAPI asset.
if [[ "$CONNECTIVITY_VERSION" == v* ]]; then
CONNECTIVITY_LINK="[Release notes](https://github.com/formancehq/connectivity/releases/tag/${CONNECTIVITY_VERSION})"
Expand All @@ -30,7 +36,7 @@ fi
echo ""
echo "| Component | Version | Changelog |"
echo "|-----------|---------|-----------|"
echo "| Ledger | \`${LEDGER_VERSION}\` | [Release notes](https://github.com/formancehq/ledger/releases/tag/${LEDGER_VERSION}) |"
echo "| Ledger | \`${LEDGER_VERSION}\` | ${LEDGER_LINK} |"
echo "| Payments | \`${PAYMENTS_VERSION}\` | [Release notes](https://github.com/formancehq/payments/releases/tag/${PAYMENTS_VERSION}) |"
echo "| Wallets | \`${WALLETS_VERSION}\` | [Release notes](https://github.com/formancehq/wallets/releases/tag/${WALLETS_VERSION}) |"
echo "| Webhooks | \`${WEBHOOKS_VERSION}\` | [Release notes](https://github.com/formancehq/webhooks/releases/tag/${WEBHOOKS_VERSION}) |"
Expand Down
6 changes: 3 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.805.0
speakeasyVersion: 1.806.0
sources:
stacks-source:
sourceNamespace: stacks-source
sourceRevisionDigest: sha256:fba801496873ebea55167ee39b289c4b9a84de63e907ee88c660e2353d065860
sourceBlobDigest: sha256:161ec02ee4dc73636b93aa44f4226b397c1ca2dd784b9574213f4259626a90eb
sourceRevisionDigest: sha256:6c6af96e77dda871734a75eeae83e7406377f4b9b2ea28e519e3605f5deb686b
sourceBlobDigest: sha256:0d867569ba113509e0b316a00ec1947889fbcae62a69d73e9c1fdc60a55147e1
tags:
- latest
- SDK_VERSION
Expand Down
8 changes: 6 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Component versions
LEDGER_VERSION := "v3.0.0-rc.2"
LEDGER_VERSION := "main"
LEDGER_V2_VERSION := "v2.4.17"
PAYMENTS_VERSION := "v3.4.9"
WALLETS_VERSION := "v2.2.2"
Expand All @@ -16,7 +16,11 @@ CONNECTIVITY_VERSION := "main"
download-specs:
mkdir -p components
gh api -H "Accept: application/vnd.github.raw+json" "repos/formancehq/connectivity/contents/misc/connectivity-api/openapi.yaml?ref={{ CONNECTIVITY_VERSION }}" > components/connectivity.openapi.yaml
wget -q https://github.com/formancehq/ledger/releases/download/{{ LEDGER_VERSION }}/openapi.yml -O components/ledger.openapi.yaml
if [ "{{ LEDGER_VERSION }}" = "main" ]; then \
gh api -H "Accept: application/vnd.github.raw+json" "repos/formancehq/ledger/contents/openapi.yml?ref={{ LEDGER_VERSION }}" > components/ledger.openapi.yaml; \
else \
wget -q https://github.com/formancehq/ledger/releases/download/{{ LEDGER_VERSION }}/openapi.yml -O components/ledger.openapi.yaml; \
fi
wget -q https://github.com/formancehq/ledger/releases/download/{{ LEDGER_V2_VERSION }}/openapi.yaml -O components/ledger-v2.openapi.yaml
wget -q https://github.com/formancehq/payments/releases/download/{{ PAYMENTS_VERSION }}/openapi.yaml -O components/payments.openapi.yaml
gh api -H "Accept: application/vnd.github.raw+json" "repos/formancehq/gateway/contents/openapi.yaml?ref={{ GATEWAY_VERSION }}" > components/gateway.openapi.yaml
Expand Down
Loading