opensearch-project / performance-analyzer-commons

Apache License 2.0
4 stars 18 forks source link

Add Release workflow using Jenkins #13

Closed khushbr closed 1 year ago

khushbr commented 1 year ago

Is your feature request related to a problem? Please provide an existing Issue # , or describe. https://github.com/opensearch-project/opensearch-build/issues/3547

Describe the solution you are proposing

  1. Adding the release-drafter.yml, as mentioned at https://github.com/opensearch-project/opensearch-build/blob/main/ONBOARDING.md#onboarding-to-universal--1-click-release-process
  2. Added version.properties for the Library.
  3. Removed the opensearch version dependency in build.gradle, using the version from version.properties
  4. Added jenkins/release.jenkinsFile for tag based release.

Testing: Created a tag 6.0, the artifacts.tar.gz is getting published at https://github.com/khushbr/performance-analyzer-commons/releases/tag/6.0

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.