| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Dappnode bot has built and pinned the built packages to an IPFS node, for commit: 9456360 This is a development version and should only be installed for testing purposes.
Hash: /ipfs/Qmev4QZdJQoN8BkdM4q6ADyS2FMMZefR5YXzZCKbhExZ2p (by dappnodebot/build-action) |
Sorry, something went wrong.
| return release.data.id; | ||
| } | ||
|
|
||
| async uploadReleaseAssets({ |
There was a problem hiding this comment.
check warning
Sorry, something went wrong.
There was a problem hiding this comment.
check warning
Sorry, something went wrong.
| "pre-commit": "npm run lint && npm run test", | ||
| "cli": "node dist/dappnodesdk.js", | ||
| "start": "yarn cli" |
There was a problem hiding this comment.
what are these changes for? are you sure these are needed?
Sorry, something went wrong.
| ## VSCode debugging | ||
|
|
||
| The DappNode SDK can be run and debugged in VSCode. | ||
| This run configurations can be configured via de `.vscode/launch.json` | ||
|
|
||
| Example `launh.json` | ||
| ```json | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Run dappnodesdk", | ||
| "runtimeExecutable": "yarn", | ||
| "runtimeArgs": [ | ||
| "start", | ||
| "github-action", | ||
| "bump-upstream", | ||
| "--dir", | ||
| "${workspaceFolder}/../dummy", // Path to the DappNode package | ||
| "--skip_build" | ||
| ], | ||
| "cwd": "${workspaceFolder}", | ||
| "env": { | ||
| "GITHUB_TOKEN": "ghp_XXX", // Your github API key | ||
| "SKIP_COMMIT": "true" | ||
| }, | ||
| "skipFiles": [ | ||
| "<node_internals>/**" | ||
| ], | ||
| "preLaunchTask": "tsc: build - tsconfig.json", | ||
| "outFiles": [ | ||
| "${workspaceFolder}/dist/**/*.js" | ||
| ], | ||
| "console": "integratedTerminal" | ||
| } | ||
| ] | ||
| } | ||
| ``` | ||
|
|
There was a problem hiding this comment.
I dont think this should go into this PR
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Improves the bump-upstream GitHub Action to correctly handle upstream repos that use non-standard version tag formats (e.g., n8n@2.10.3, v1.2.3) and ensures the version written to the manifest and docker-compose matches what the Docker image registry actually expects.
Changes
Problem
Different upstream projects use different conventions:
Previously, the raw GitHub tag was always used, which could cause mismatches with Docker image tags, or the sort order could pick the wrong release.
Test plan