Skip to content

Add GitHub Actions workflow for releasing tarballs#1330

Open
cxzhong wants to merge 4 commits intoSingular:spielwiesefrom
cxzhong:spielwiese
Open

Add GitHub Actions workflow for releasing tarballs#1330
cxzhong wants to merge 4 commits intoSingular:spielwiesefrom
cxzhong:spielwiese

Conversation

@cxzhong
Copy link
Copy Markdown
Contributor

@cxzhong cxzhong commented Mar 3, 2026

I have added a workflow to build a tarball with compiled doc and configured file. So it is easier to create a release package now.

Close #1023

CC: @ederc @jankoboehm

@cxzhong
Copy link
Copy Markdown
Contributor Author

cxzhong commented Mar 3, 2026

@jankoboehm
Copy link
Copy Markdown
Member

Thanks! This is very close to the make_tar.sh recipe and should solve the “official tarball vs GitHub tarball” issue. It would be great if you could address the following:

  1. The header comment says “creating (or editing) a release”, but the trigger is only release: published. Please either adjust the wording or add the respective event types.

  2. For attaching assets to a GitHub release, please request explicit token permissions, so this works also under more restrictive defaults. Like in the job that uploads the asset:

jobs:
  release-tarball:
    permissions:
      contents: write
  1. In the tarball step, please enable “fail on pipeline errors” and add simple existence checks before copying/packing the artefacts, so that failures are immediate and easy to diagnose.

@cxzhong
Copy link
Copy Markdown
Contributor Author

cxzhong commented Mar 3, 2026

@cxzhong
Copy link
Copy Markdown
Contributor Author

cxzhong commented Mar 7, 2026

@jankoboehm Can you review this again? It only runs by manunal or release a new version

@jankoboehm
Copy link
Copy Markdown
Member

Thanks a lot, we are looking into it, please hang on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate the Singular release process more

2 participants