Skip to content

Changed the ci to create pre-release versions - #69

Merged
ByronMayne merged 1 commit into
masterfrom
feature/pre-release-publishing
Jul 6, 2026
Merged

Changed the ci to create pre-release versions#69
ByronMayne merged 1 commit into
masterfrom
feature/pre-release-publishing

Conversation

@ByronMayne

Copy link
Copy Markdown
Owner

Before it would only create release tags

Before it would only create release tags
Copilot AI review requested due to automatic review settings July 6, 2026 03:17
@ByronMayne
ByronMayne merged commit 14adbb4 into master Jul 6, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the GitHub Actions CI workflow so publishing can occur on pushes to main (for pre-release packages) and on tag pushes (for release packages), rather than only on release events.

Changes:

  • Restricts push triggers to main branch pushes and tag pushes; removes the release trigger.
  • Removes explicit checkout ref overrides so actions/checkout uses the default ref for each event.
  • Adds logic to set PACKAGE_VERSION differently for main vs tag refs and publishes on push events.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment on lines +3 to +7
push:
branches:
- main
tags:
- '*'
Comment thread .github/workflows/ci.yml

- name: Set release package version (tag)
if: startsWith(github.ref, 'refs/tags/')
run: echo "PACKAGE_VERSION=$env:GitVersion_MajorMinorPatch" >> $env:GITHUB_ENV
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.

2 participants