Skip to content

git-artifacts: allow building from an existing tag #34

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

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

dscho
Copy link
Member

@dscho dscho commented Feb 15, 2023

So far, we have an implementation of the common flow where the tag-git workflow is started to create "bundle-artifacts" including a Git bundle with the newly-tagged Git version and another Git bundle with the updated release notes.

However, for the just-published Git for Windows v2.39.2, we would like to build the ARM64 flavor of the artifacts, i.e. for an existing tag.

Let's introduce two new inputs (referring to an existing tag and an existing build-extra revision) that can be used instead of the input referring to a tag-git workflow run, and handle that scenario, too.

@dscho dscho force-pushed the git-artifacts-from-existing-tag branch 3 times, most recently from 511031d to f5e65a4 Compare February 16, 2023 08:49
So far, we have an implementation of the common flow where the `tag-git`
workflow is started to create "bundle-artifacts" including a Git bundle
with the newly-tagged Git version and another Git bundle with the
updated release notes.

However, for the just-published Git for Windows v2.39.2, we would like
to build the ARM64 flavor of the artifacts, i.e. for an _existing_ tag.

Let's introduce two new inputs (referring to an existing tag and an
existing build-extra revision) that can be used instead of the input
referring to a `tag-git` workflow run, and handle that scenario, too.

Signed-off-by: Johannes Schindelin <[email protected]>
These inputs were used when the workflow still had its home inside
git-for-windows/git, but as of its move to
git-for-windows/git-for-windows-automation, they are no longer used: We
either get the revision from which to build the Git artifacts from a
`tag-git` workflow run or from the `existing-git-tag` input.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho force-pushed the git-artifacts-from-existing-tag branch from f5e65a4 to bc5d7a8 Compare February 16, 2023 14:52
@dscho dscho requested a review from dennisameling February 16, 2023 20:53
@dscho dscho marked this pull request as ready for review February 16, 2023 20:53
Copy link
Contributor

@dennisameling dennisameling left a comment

Choose a reason for hiding this comment

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

Thank you! 🚀

Comment on lines -10 to -17
ref:
description: 'Optionally override which branch to build'
required: false
default: main
repository:
description: 'Optionally override from where to fetch the specified ref'
required: false
default: git-for-windows/git
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for removing those! I noticed them earlier this week (copied over from the original pipeline) and was planning to remove them indeed :)

@dscho dscho merged commit 31969dc into main Feb 17, 2023
@dscho dscho deleted the git-artifacts-from-existing-tag branch February 17, 2023 08:47
@dscho dscho self-assigned this Feb 17, 2023
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