-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary branch name suffix for stable version releases (#578)
* Hide branch name on for stable versions * Clean code * Clean code * Clean code --------- Co-authored-by: volterra79 <[email protected]>
- Loading branch information
1 parent
bcf7148
commit 826d2f8
Showing
4 changed files
with
47 additions
and
35 deletions.
There are no files selected for viewing
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,10 +1,13 @@ | ||
/** START: g3w-client/src/plugins/_version.js */ | ||
(function() { | ||
const plugins = window && window.initConfig && window.initConfig.group && window.initConfig.group.plugins; | ||
if (plugins) plugins[process.env.g3w_plugin_name] = Object.assign(plugins[process.env.g3w_plugin_name] || {}, { | ||
version: process.env.g3w_plugin_version, | ||
hash: process.env.g3w_plugin_hash, | ||
branch: process.env.g3w_plugin_branch, | ||
}); | ||
if (plugins) { | ||
plugins[process.env.g3w_plugin_name] = Object.assign(plugins[process.env.g3w_plugin_name] || {}, | ||
{ | ||
version : process.env.g3w_plugin_version, | ||
hash : process.env.g3w_plugin_hash, | ||
branch : process.env.g3w_plugin_branch, | ||
}); | ||
} | ||
})(); | ||
/** END: g3w-client/src/plugins/_version.js */ |
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