Skip to content

Commit dde9110

Browse files
committed
Fixing CI publishing
1 parent 729ac74 commit dde9110

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

installers/bsd/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@
8888
abiMarker = ABI.replace(':', '-')
8989
shutil.move(builddir / 'wsddn.gz', workdir / f'wsddn-bsd-{VERSION}-{abiMarker}.gz')
9090
shutil.move(workdir / f'wsddn-{VERSION}.pkg', workdir / f'wsddn-bsd-{VERSION}-{abiMarker}.pkg')
91-
uploadResults(workdir / f'wsddn-bsd-{VERSION}-{abiMarker}.pkg', workdir / f'wsddn-bsd-{VERSION}-{abiMarker}.gz')
91+
uploadResults(workdir / f'wsddn-bsd-{VERSION}-{abiMarker}.pkg', workdir / f'wsddn-bsd-{VERSION}-{abiMarker}.gz', VERSION)

installers/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ def copyTemplated(src, dst, map):
3939
dstdir.mkdir(parents=True, exist_ok=True)
4040
dst.write_text(src.read_text().format_map(map))
4141

42-
def uploadResults(installer, symfile):
42+
def uploadResults(installer, symfile, version):
4343
subprocess.run(['aws', 's3', 'cp', symfile, f's3://wsddn-symbols/{symfile.name}'], check=True)
44-
subprocess.run(['gh', 'release', 'upload', f'v{VERSION}', installer], check=True)
44+
subprocess.run(['gh', 'release', 'upload', f'v{version}', installer], check=True)

installers/deb-systemd/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@
9898
debForRelease = workdir / f'{CODENAME}-{deb.name}'
9999
shutil.copy(deb, debForRelease)
100100
subprocess.run(['aws', 's3', 'cp', debForRelease, 's3://gershnik.com/apt-repo/pool/main/'], check=True)
101-
uploadResults(debForRelease, workdir / f'wsddn-deb-systemd-{VERSION}-{ARCH}-{CODENAME}.gz')
101+
uploadResults(debForRelease, workdir / f'wsddn-deb-systemd-{VERSION}-{ARCH}-{CODENAME}.gz', VERSION)

installers/mac/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@
132132

133133
if args.uploadResults:
134134
subprocess.run(['tar', '-C', builddir, '-czf', workdir.absolute() / f'wsddn-macos-{VERSION}.dSYM.tgz', 'wsddn.dSYM'], check=True)
135-
uploadResults(installer, workdir / f'wsddn-macos-{VERSION}.dSYM.tgz')
135+
uploadResults(installer, workdir / f'wsddn-macos-{VERSION}.dSYM.tgz', VERSION)

installers/rpm-systemd/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@
131131

132132
if args.uploadResults:
133133
subprocess.run(['aws', 's3', 'cp', rpm, 's3://gershnik.com/rpm-repo/'], check=True)
134-
uploadResults(rpm, workdir / f'wsddn-rpm-systemd-{VERSION}-{ARCH}.gz')
134+
uploadResults(rpm, workdir / f'wsddn-rpm-systemd-{VERSION}-{ARCH}.gz', VERSION)

0 commit comments

Comments
 (0)