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

Add snapshot and release workflows #2810

Merged
merged 6 commits into from
Apr 3, 2024
Merged

Add snapshot and release workflows #2810

merged 6 commits into from
Apr 3, 2024

Conversation

uglide
Copy link
Collaborator

@uglide uglide commented Apr 2, 2024

Add new workflows to upload snapshots and release artifacts automatically.

.github/workflows/snapshot.yaml Outdated Show resolved Hide resolved
.github/workflows/snapshot.yaml Outdated Show resolved Hide resolved
.github/workflows/snapshot.yaml Outdated Show resolved Hide resolved
.github/workflows/version-and-release.yaml Outdated Show resolved Hide resolved
mvn -q dependency:go-offline
- name: deploy
run: |
mvn --no-transfer-progress deploy
Copy link
Collaborator

Choose a reason for hiding this comment

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

Adding -U -B ensures latest dependency versions and uses batch-mode to skip interactive elements.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

On minor version branches, it might not be the behavior we want.

@mp911de
Copy link
Collaborator

mp911de commented Apr 2, 2024

This is a neat approach. Left a minor comment.

@mp911de mp911de added the type: task A general task label Apr 2, 2024
@uglide uglide merged commit e1866f3 into main Apr 3, 2024
4 checks passed
@uglide uglide deleted the release_workflows branch April 3, 2024 11:24
@tishun
Copy link
Collaborator

tishun commented Apr 5, 2024

Closes #2752
Closes #2753

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants