Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add Versioned Build and Release Feature using GitHub Actions #5

Merged
merged 7 commits into from
Nov 12, 2023

Conversation

awcodify
Copy link
Owner

@awcodify awcodify commented Nov 12, 2023

Changes Made

In this pull request, I've updated the GitHub Actions workflow for building and releasing the GitInsights application. The workflow is now triggered only on pushes with tags matching the pattern "v*..".

Purpose

The purpose of this change is to refine the triggering mechanism for the build and release workflow. By specifically targeting pushes with version tags, we ensure that the GitInsights application is built and released only when a new version is tagged.

Workflow Details

  • Tag Trigger: The workflow is triggered on pushes with tags matching the pattern "v*..".
  • Build and Release Job: The workflow consists of a single job, "build_and_release," which runs on an Ubuntu environment. It checks out the code, sets up Go, builds the GitInsights application, and releases it using the softprops/action-gh-release action.

Testing

I have tested this refined workflow in various scenarios to ensure it functions correctly and releases the GitInsights application as expected.

Checklist

  • The workflow is correctly triggered on pushes with version tags.
  • The GitInsights application is successfully built.
  • The application is released using the softprops/action-gh-release action.

Reviewer Guidance

Please review the updated GitHub Actions workflow for building and releasing GitInsights, ensuring it meets the refined triggering requirements and follows best practices.

@awcodify awcodify added the enhancement New feature or request label Nov 12, 2023
@awcodify awcodify merged commit 9e06b69 into main Nov 12, 2023
1 check passed
@awcodify awcodify deleted the build-and-release branch November 12, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant