Skip to content

Commit 95cb4df

Browse files
Merge pull request #81 from pycalendar/issue-70
Name Linux binary by platform and architecture
2 parents 322211a + 3c6f867 commit 95cb4df

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
- name: Test
121121
run: |
122122
tox -e ${{ matrix.config[1] }}
123-
- uses: actions/upload-artifact@v7
123+
- uses: actions/upload-artifact@v8
124124
with:
125125
name: dist-${{ matrix.config[1] }}-${{ matrix.config[2] }} # dist-exe-windows-latest
126126
path: dist
@@ -211,5 +211,5 @@ jobs:
211211
allowUpdates: true
212212
body: "For a list of changes, please refer to the [Changelog](https://github.com/niccokunzmann/ics-query#changelog)."
213213
generateReleaseNotes: false
214-
artifacts: "dist/dist-exe-windows-latest/ics-query.exe,dist/dist-exe-ubuntu-latest/ics-query"
214+
artifacts: "dist/dist-exe-windows-latest/ics-query.exe,dist/dist-exe-ubuntu-latest/ics-query-linux-x86_64"
215215
tag: ${{ needs.version.outputs.version }}

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pipx ensurepath
4040
### Download binaries
4141

4242
For **Windows**, you can download `ics-query.exe` from our [Releases].
43-
For **Linux**, you can download `ics-query` from our [Releases].
43+
For **Linux** (x86_64), you can download `ics-query-linux-x86_64` from our [Releases].
4444

4545
### Install with Homebrew on MacOS
4646

@@ -489,6 +489,10 @@ We automatically release the versions that only update dependencies.
489489
If the version you installed does not show up here, only the dependencies
490490
have been updated.
491491

492+
- v0.5.8
493+
494+
- Name Linux binary by platform and architecture (e.g. `ics-query-linux-x86_64`). See [Issue 70](https://github.com/pycalendar/ics-query/issues/70).
495+
492496
- v0.5.0
493497

494498
- Remove Python 3.9 support.

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ deps =
4848
commands =
4949
pyinstaller ics-query.py --onefile --paths "{env_site_packages_dir}" --recursive-copy-metadata ics-query
5050
python -c "import subprocess,sys,sysconfig; sys.exit(subprocess.run([sys.executable,'-m','pytest','--binary','dist/ics-query'+(sysconfig.get_config_var('EXE') or '')]).returncode)"
51+
python -c "import os,platform,sysconfig; ext=sysconfig.get_config_var('EXE') or ''; src='dist/ics-query'+ext; dst='dist/ics-query-linux-'+platform.machine() if not ext else src; os.rename(src,dst) if src!=dst else None"

0 commit comments

Comments
 (0)