Skip to content

Commit

Permalink
build script update
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkLightTuna committed Feb 2, 2024
1 parent 2a38366 commit 35c427d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/foundry_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
UPDATE_DISCORD_KEY = os.environ['UPDATE_DISCORD_KEY']

# Build Variables
PROJECT_URL = os.environ['PROJECT_URL']
URL = os.environ['URL']
CHANGES = os.environ['CHANGES']


Expand All @@ -33,8 +33,8 @@ def push_release(module: dict) -> None:
'id': module['id'],
'release': {
'version': module['version'],
'manifest': f"{PROJECT_URL}/releases/download/{module['version']}/module.json",
'notes': f"{PROJECT_URL}/releases/tag/{module['version']}",
'manifest': f"{URL}/releases/download/{module['version']}/module.json",
'notes': f"{URL}/releases/tag/{module['version']}",
'compatibility': module['compatibility']
}
})
Expand Down Expand Up @@ -121,7 +121,7 @@ def post_packages_oronder_edit(csrf_token, csrf_middleware_token, session_id, de
('username', os.environ.get('FOUNDRY_USERNAME')),
('title', module['title']),
('description', description),
('url', PROJECT_URL),
('url', URL),
('csrfmiddlewaretoken', csrf_middleware_token),
('author', FOUNDRY_AUTHOR),
('secret-key', FOUNDRY_PACKAGE_RELEASE_TOKEN),
Expand Down

0 comments on commit 35c427d

Please sign in to comment.