Skip to content

Commit

Permalink
Merge pull request #21785 from mrclary/artifact-name-6.x
Browse files Browse the repository at this point in the history
PR: Do not use version in artifact name (Installers)
  • Loading branch information
ccordoba12 authored Feb 15, 2024
2 parents 58f8d24 + f04c38f commit 2b8e8af
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 2b8e8af

Please sign in to comment.