Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lombiq/hosting-deployments
Orchard 1 module to display the build version (e.g., semver string, commit hash) optionally as a link to the build on the Admin Dashboard.
https://github.com/lombiq/hosting-deployments
hosting-suite orchard orchard-cms orchard-module
Last synced: 5 days ago
JSON representation
Orchard 1 module to display the build version (e.g., semver string, commit hash) optionally as a link to the build on the Admin Dashboard.
- Host: GitHub
- URL: https://github.com/lombiq/hosting-deployments
- Owner: Lombiq
- License: bsd-3-clause
- Created: 2020-04-17T16:21:49.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2024-01-29T23:17:49.000Z (11 months ago)
- Last Synced: 2024-12-16T19:45:20.702Z (6 days ago)
- Topics: hosting-suite, orchard, orchard-cms, orchard-module
- Language: C#
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# Hosting - Deployments readme
Orchard 1 module to display the build version (e.g., semver string, commit hash) optionally as a link to the build on the Admin Dashboard. There is also an [Orchard Core-variant of this module](https://github.com/Lombiq/Hosting-Build-Version-Display).
## How to use it
When this module is enabled, the `Views\BuildNumber.cshtml` template's contents will be displayed in the Admin Dashboard in the Footer zone. This contains technical strings that will be swapped with the values of the `BuildVersionDisplay_BuildText` and `BuildVersionDisplay_BuildUrl` MSBuild parameters when at least one of them is provided. If neither is provided, it won't display anything. CI integration examples:
- In general, pass these parameters to the MSBuild command, e.g.:
```
/p:BuildVersionDisplay_BuildText="My best commit ever" /p:BuildVersionDisplay_BuildUrl="https://link-to-build.localhost"
```
- GitHub Actions: Our [MSBuild action](https://github.com/Lombiq/GitHub-Actions/blob/dev/.github/actions/msbuild/action.yml) (and the workflows that use it) supports this out of the box.
- TeamCity: Other than passing the parameters to the MSBuild command, you can also use the Build Feature called File Content Replacer to modify the template's content - check out _Lombiq.Hosting.Deployments.csproj_ to see what to replace.## Contributing and support
Bug reports, feature requests, comments, questions, code contributions and love letters are warmly welcome. You can send them to us via GitHub issues and pull requests. Please adhere to our [open-source guidelines](https://lombiq.com/open-source-guidelines) while doing so.
This project is developed by [Lombiq Technologies](https://lombiq.com/). Commercial-grade support is available through Lombiq.