Skip to content

Conversation

@jayconrod
Copy link
Contributor

Set uploaded artifact names uniquely so that different jobs upload separate artifacts. The default was to overwrite the same artifact. No such setting is needed for downloading: the default is to download all artifacts.

Fixed the regular expression used to validate semantic versions. We used a PCRE-compatible regex from semver.org, but grep doesn't use PCRE, and different versions of grep (on Linux and macOS at least) interpret the same expression differently. Hopefully we've landed on something that works.

Added an .exe extension to the Windows artifact.

@jayconrod jayconrod changed the title release: multiple fixes REC-102: release: multiple fixes Nov 5, 2024
@jayconrod
Copy link
Contributor Author

- uses: actions/upload-artifact@v4
if: success()
with:
name: linux

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which part is this fixing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the name is not set, they all write to artifact. I think the last job wins. A customer pointed out to us that v0.0.9 lacked a Windows artifact: this is why.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see this names the artifact.

@jayconrod jayconrod merged commit ec6b243 into main Nov 5, 2024
@jayconrod jayconrod deleted the jay-fix-release branch November 5, 2024 22:20
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.

3 participants