You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When we create a new major/minor release, we have to update the CURRENT_VERSION in the DataPrepperVersion file to the new version. We do this in preparation for the next release version.
We can probably accomplish this by reading the version from a resource file. By including some new resource in the jar file, we can read that resource to determine the major/minor version. Gradle could easily produce this resource file as part of the build.
Describe alternatives you've considered (Optional)
It may be possible to have Gradle modify the compiled Java instead of using a resource file. We could investigate this as well.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When we create a new major/minor release, we have to update the
CURRENT_VERSION
in theDataPrepperVersion
file to the new version. We do this in preparation for the next release version.data-prepper/data-prepper-api/src/main/java/org/opensearch/dataprepper/model/configuration/DataPrepperVersion.java
Line 9 in d6465ef
Describe the solution you'd like
This should come from the version expressed in the
gradle.properties
that we release from.data-prepper/gradle.properties
Line 8 in d6465ef
We can probably accomplish this by reading the version from a resource file. By including some new resource in the jar file, we can read that resource to determine the major/minor version. Gradle could easily produce this resource file as part of the build.
Describe alternatives you've considered (Optional)
It may be possible to have Gradle modify the compiled Java instead of using a resource file. We could investigate this as well.
Additional context
N/A
The text was updated successfully, but these errors were encountered: