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

[BREAKING CHANGE] Simplified the release process #12903

Merged
merged 6 commits into from
Dec 27, 2024
Merged

Conversation

wu-sheng
Copy link
Member

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
  • Update the CHANGES log.
  • [Breaking Change] All jars of the skywalking-oap-server are no longer published through maven central. We will only
    publish the source tar and binary tar to the website download page, and docker images to docker hub.
    • Warning If you are using the skywalking-oap-server as a dependency in your project, you need to download the
      source tar from the website and publish them to your private maven repository.

FYI @apache/skywalking-committers please notice this new proposal. I am not sure who are using these dependencies, but truly, we are not expecting this.

@wu-sheng wu-sheng added this to the 10.2.0 milestone Dec 27, 2024
@wu-sheng wu-sheng requested a review from a team December 27, 2024 02:14
@@ -79,18 +45,18 @@ git push origin v${RELEASE_VERSION}
## Stage the release

```bash
./mvnw flatten:flatten install deploy -DskipTests
./mvnw package -DskipTests
Copy link
Member

Choose a reason for hiding this comment

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

install might be still needed if the version is not installed before?

```

This command will build, sign, and deploy the release to the Apache staging repository.
You should be prompted for your GPG passphrase during the deployment process.
If no prompt is present, you can set the passphrase in the environment variable `MAVEN_GPG_PASSPHRASE`:

```bash
MAVEN_GPG_PASSPHRASE=<your-gpg-passphrase> ./mvnw flatten:flatten install deploy -DskipTests
Copy link
Member

Choose a reason for hiding this comment

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

GPG related is not needed anymore, it was for maven verification. Now we will only sign the final tar.

Fine0830
Fine0830 previously approved these changes Dec 27, 2024
Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

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

I did some updates, please check

@@ -75,5 +75,7 @@ tar czf ${PRODUCT_NAME}-src.tgz \
${PRODUCT_NAME}

gpg --armor --detach-sig ${PRODUCT_NAME}-src.tgz
gpg --armor --detach-sig ${PRODUCT_NAME}.tgz
Copy link
Member

Choose a reason for hiding this comment

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

The file name is create_source_release.sh, but these two lines are signing binary package, what do you think moving these two lines to the release doc or renaming this script file?

Copy link
Member Author

Choose a reason for hiding this comment

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

I prefer rename the script file.

Copy link
Member Author

Choose a reason for hiding this comment

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

@kezhenxu94 I updated the docs a little bit more, to move binary into releasing folder.

@wu-sheng wu-sheng requested a review from kezhenxu94 December 27, 2024 05:51
@wu-sheng wu-sheng merged commit d39a003 into master Dec 27, 2024
166 checks passed
@wu-sheng wu-sheng deleted the simply-release branch December 27, 2024 06:30
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.

3 participants