Skip to content

Conversation

@megahirt
Copy link
Contributor

@megahirt megahirt commented Jun 18, 2024

This PR:

  • splits the workflow into a build and test workflow and a build installer and release workflow. This will help manage these separately in the future
  • adds automation to GHA to determine the version number from the tag and stamp the AssemblyInfo.cs file and installer with the correct version
  • enforces the version number via bash script

fixes #14

megahirt added 2 commits June 18, 2024 14:22
These workflows are really separate and can be triggered separately
- define version in GHA based on tag name and SHA
- inject version into assemblyInfo.cs
- inject version into installer
@megahirt megahirt requested a review from josephmyers June 18, 2024 08:05
@megahirt megahirt self-assigned this Jun 18, 2024
@megahirt megahirt merged commit c809694 into main Jun 19, 2024
@megahirt megahirt deleted the workflowImprovements branch June 19, 2024 08:31
megahirt added a commit that referenced this pull request Jun 19, 2024
* split up workflow into built-test and installer-release
* automate version stamping in GHA

- define version in GHA based on tag name and SHA
- inject version into assemblyInfo.cs
- inject version into installer

* enforce version format to be N.N.N
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.

feat: automate GHA version stamping

3 participants