Skip to content

Commit

Permalink
Do not use version in artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Feb 9, 2024
1 parent 89475f7 commit f8bff2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installers-conda/build_installers.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
if k == "spyder":
SPYVER = v[-1]

OUTPUT_FILE = DIST / f"{APP}-{SPYVER}-{OS}-{ARCH}.{args.install_type}"
OUTPUT_FILE = DIST / f"{APP}_{OS}_{ARCH}.{args.install_type}"
INSTALLER_DEFAULT_PATH_STEM = f"{APP.lower()}-{SPYVER.split('.')[0]}"

WELCOME_IMG_WIN = BUILD / "welcome_img_win.png"
Expand Down
2 changes: 1 addition & 1 deletion spyder/plugins/updatemanager/widgets/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _set_installer_path(self):
plat, ext = 'Linux', 'sh'

mach = platform.machine().lower().replace("amd64", "x86_64")
fname = f'Spyder-{self.latest_release}-{plat}-{mach}.{ext}'
fname = f'Spyder_{plat}_{mach}.{ext}'

dirname = osp.join(get_temp_dir(), 'updates', self.latest_release)
self.installer_path = osp.join(dirname, fname)
Expand Down

0 comments on commit f8bff2d

Please sign in to comment.