Skip to content

Commit

Permalink
docs(release_notes): add device
Browse files Browse the repository at this point in the history
related to #274
  • Loading branch information
xaviml committed Apr 9, 2021
1 parent 5ee7f2b commit 6345ea6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
7 changes: 2 additions & 5 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--:warning: This major/minor change contains a breaking change.-->
_This minor change does not contain any breaking changes._
_Note: Remember to restart the AppDaemon addon/server after updating to a new version._
<!--Note: Some links might not work or might be not updated due to being a pre-release, and documentation is not yet available-->
PRERELEASE_NOTE

<!--
## :pencil2: Features
Expand All @@ -24,8 +24,5 @@ _Note: Remember to restart the AppDaemon addon/server after updating to a new ve
## :wrench: Refactor
-->

<!--
## :video_game: New devices
- [929002398602](https://xaviml.github.io/controllerx/controllers/929002398602) - add Hue Dimmer (with HUE logo) device with Z2M support [ #264 ]
- [W2049](https://xaviml.github.io/controllerx/controllers/W2049) - add new IKEA device with Z2M support [ #270 ]
-->
- [HG06323](https://xaviml.github.io/controllerx/controllers/HG06323) - add ZHA support [ #274 ] @Thomas55555
12 changes: 9 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,14 @@ stages:
includeRootFolder: false
archiveType: zip
archiveFile: $(Build.ArtifactStagingDirectory)/controllerx.zip
- script: sed 's/VERSION_TAG/${{ variables['Build.SourceBranchName'] }}/g' RELEASE_NOTES.md > tmp.md
displayName: Build RELEASE_NOTES.md
- script: sed -i 's/VERSION_TAG/${{ variables['Build.SourceBranchName'] }}/g' RELEASE_NOTES.md
displayName: Replace version in RELEASE_NOTES.md
- script: "sed -i 's/PRERELEASE_NOTE/Note: Some links might not work or might be not updated due to being a pre-release, and documentation is not yet available/g' RELEASE_NOTES.md"
displayName: Replace prerelease note in RELEASE_NOTES.md
condition: contains(variables['Build.SourceBranchName'], 'b')
- script: sed -i 's/PRERELEASE_NOTE//g' RELEASE_NOTES.md
displayName: Replace prerelease note in RELEASE_NOTES.md
condition: not(contains(variables['Build.SourceBranchName'], 'b'))
- task: GithubRelease@0
displayName: Create GitHub Release
inputs:
Expand All @@ -83,4 +89,4 @@ stages:
assets: $(Build.ArtifactStagingDirectory)/controllerx.zip
title: $(Build.SourceBranchName)
releaseNotesSource: file
releaseNotesFile: tmp.md
releaseNotesFile: RELEASE_NOTES.md

0 comments on commit 6345ea6

Please sign in to comment.