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

Create weekly test releases #310

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Create weekly test releases #310

merged 1 commit into from
Feb 7, 2025

Conversation

mikelalcon
Copy link
Collaborator

@mikelalcon mikelalcon commented Jan 23, 2025

Fixes #275

Copy link

@alexeagle alexeagle 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 for working on this!


- name: Get current date
id: date
run: echo "::set-output name=date::$(date +%Y%m%d)"

Choose a reason for hiding this comment

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

runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

Choose a reason for hiding this comment

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

nit: there is a v4 - since this is a new workflow you probably want the latest of the deps

.github/workflows/release.yaml Show resolved Hide resolved
@mikelalcon mikelalcon self-assigned this Feb 7, 2025
@mikelalcon mikelalcon force-pushed the gh_release branch 6 times, most recently from c9bf99b to 6df68cd Compare February 7, 2025 15:51
This change adds automated weekly test releases that don't require
to compile the code.

An additional option is added to do manual releases.

Fixes #275

Change-Id: If038652623f8a8e0528984c9ed53a97d2cfedd75
@mikelalcon mikelalcon force-pushed the gh_release branch 5 times, most recently from 489737d to d81d656 Compare February 7, 2025 16:35
@copybara-staging copybara-staging bot merged commit d81d656 into master Feb 7, 2025
3 checks passed
@mikelalcon mikelalcon deleted the gh_release branch February 7, 2025 17:03
java-version: '21'

- name: Build with Bazel
run: bazel build java/com/google/copybara/copybara_deploy.jar

Choose a reason for hiding this comment

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

I think this needs --stamp or --embed_label here, since today's new release prints

Feb 07, 2025 3:52:34 PM com.google.copybara.Main configureLog
INFO: Setting up LogManager
Copybara source mover (Version: Unknown version)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have to look at this, our current oss implementation does this:

  protected String getVersion() {
    return "Unknown version";
  }

I have to match to what we do internally.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just merged eee4901 for this

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.

Compile standalone binary
2 participants