Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release workflow for Go type without plugins #28

Merged
merged 4 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions .nextmv/update_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def update_app(name: str, version: str):
with open(os.path.join(os.getcwd(), "..", name, "VERSION"), "w") as f:
f.write(version + "\n")

if workflow_info["type"] == "go":
sdk_version = workflow_info["sdk_version"]
sdk_version = workflow_info.get("sdk_version") or None
if workflow_info["type"] == "go" and sdk_version is not None:
if sdk_version != "latest" and "v" not in sdk_version:
sdk_version = f"v{sdk_version}"

Expand Down
1 change: 0 additions & 1 deletion .nextmv/workflow-configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ apps:
description: Solve a knapsack problem using Pyomo.
- name: nextroute
type: go
sdk_version: latest
app_id: nextroute
marketplace_app_id: nextroute
description: Solve a vehicle routing problem using Nextmv’s Nextroute.
Expand Down
Loading