Skip to content

Commit

Permalink
Merge pull request #21 from yongenaelf/main
Browse files Browse the repository at this point in the history
feat: aelf-deploy
  • Loading branch information
yongenaelf authored May 29, 2024
2 parents 7d9ce21 + 68c1231 commit c565786
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .devcontainer/aelf-deploy/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "aelf deploy",
"id": "aelf-deploy",
"version": "1.0.0",
"description": "Installs aelf deploy on Debian Linux.",
"options": {
"version": {
"type": "string",
"proposals": [
"0.0.1",
"0.0.2"
],
"default": "0.0.2",
"description": "Select a version, or enter your own"
}
},
"installsAfter": [
"ghcr.io/devcontainers/features/dotnet"
]
}
9 changes: 9 additions & 0 deletions .devcontainer/aelf-deploy/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
set -e

echo "Activating feature 'aelf-deploy'"

VERSION=${VERSION:-undefined}
echo "The provided version is: $VERSION"

dotnet tool install --global aelf.deploy --version $VERSION
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
},
"./aelf-contract-templates": {
"version": "latest"
},
"./aelf-deploy": {
"version": "0.0.2"
}
},
"runArgs": [
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
dotnet build &&
cd ../test &&
dotnet test &&
aelf-command -v
aelf-command -v &&
aelf-deploy --version
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
Expand Down

0 comments on commit c565786

Please sign in to comment.