forked from feathr-ai/feathr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maven Package Version Configuration Fix (feathr-ai#845)
* move maven version config to version Signed-off-by: Yuqing Wei <[email protected]> * rename functions and variables Signed-off-by: Yuqing Wei <[email protected]> * update doc Signed-off-by: Yuqing Wei <[email protected]> * update doc Signed-off-by: Yuqing Wei <[email protected]> Signed-off-by: Yuqing Wei <[email protected]>
- Loading branch information
1 parent
461f587
commit 2e32e88
Showing
6 changed files
with
76 additions
and
64 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
__version__ = "0.9.0-rc2" | ||
__version__ = "0.9.0-rc2" | ||
|
||
def get_version(): | ||
return __version__ | ||
|
||
# Decouple Feathr MAVEN Version from Feathr Python SDK Version | ||
import os | ||
def get_maven_artifact_fullname(): | ||
maven_artifact_version = os.environ.get("MAVEN_ARTIFACT_VERSION", __version__) | ||
return f"com.linkedin.feathr:feathr_2.12:{maven_artifact_version}" |