Skip to content

Fix Conda recipe version update in release workflow#290

Merged
harryswift01 merged 1 commit intomainfrom
289-bug-fix-regular-expression-within-release-workflow
Feb 27, 2026
Merged

Fix Conda recipe version update in release workflow#290
harryswift01 merged 1 commit intomainfrom
289-bug-fix-regular-expression-within-release-workflow

Conversation

@harryswift01
Copy link
Member

Summary

Fix the release workflow to correctly update the Conda recipe version before building and publishing to Anaconda.org.

Changes

Fix conda recipe version replacement

  • Updated the sed command in the release workflow to correctly match and replace the Jinja version line in conda-recipe/meta.yaml.
  • Removed use of extended regex (-E) which caused failures when processing {% ... %} syntax.
  • Added a grep check to confirm the version is updated in CI logs.

Impact

  • Restores the ability to publish CodeEntropy to the CCPBioSim Anaconda.org channel.
  • Prevents release workflow failures caused by invalid regex handling in the Conda recipe.

@harryswift01 harryswift01 added this to the v1.1.0 milestone Feb 27, 2026
@harryswift01 harryswift01 requested a review from jimboid February 27, 2026 11:20
@harryswift01 harryswift01 self-assigned this Feb 27, 2026
@harryswift01 harryswift01 added bug Something isn't working CI Failure labels Feb 27, 2026
@harryswift01 harryswift01 linked an issue Feb 27, 2026 that may be closed by this pull request
Copy link
Member

@jimboid jimboid left a comment

Choose a reason for hiding this comment

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

Looks like this will fix the workflow and an extra grep will make sure that version was updated.

@harryswift01 harryswift01 merged commit 012f16f into main Feb 27, 2026
13 checks passed
@harryswift01 harryswift01 deleted the 289-bug-fix-regular-expression-within-release-workflow branch February 27, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CI Failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Fix Regular Expression within release workflow

2 participants