Merge ~kzapalowicz/snappy-hwe-snaps/+git/build-scripts:fix/release-script-breaks-parts-named-version into ~snappy-hwe-team/snappy-hwe-snaps/+git/build-scripts:master
Status: | Merged |
---|---|
Approved by: | Jim Hodapp |
Approved revision: | f482c9a3481ff20c84ff68e815a843b28668278e |
Merged at revision: | 5b574b81d60a263293943c41313c64b44b8c34a5 |
Proposed branch: | ~kzapalowicz/snappy-hwe-snaps/+git/build-scripts:fix/release-script-breaks-parts-named-version |
Merge into: | ~snappy-hwe-team/snappy-hwe-snaps/+git/build-scripts:master |
Diff against target: |
12 lines (+1/-1) 1 file modified
jobs/generic-release-snap (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jim Hodapp (community) | Approve | ||
System Enablement Bot | continuous-integration | Approve | |
Review via email: mp+317665@code.launchpad.net |
Commit message
Fix for release job which is breaking parts named "version"
The sed part that updates the version: string is targeting all
occurrences, even when it is a part name, not the version itself.
This commit makes sure that the sed part is targetting version in
a form of: "version: SOMETHING" - not the space after ':'
The above will prevent it from picking up a part name which ends
with a semicolon.
Description of the change
Fix for release job which is breaking parts named "version"
The sed part that updates the version: string is targeting all
occurrences, even when it is a part name, not the version itself.
This commit makes sure that the sed part is targetting version in
a form of: "version: SOMETHING" - not the space after ':'
The above will prevent it from picking up a part name which ends
with a semicolon.
PASSED: Continuous integration, rev:f482c9a3481 ff20c84ff68e815 a843b28668278e /jenkins. canonical. com/system- enablement/ job/generic- build-snap/ 968/ /jenkins. canonical. com/system- enablement/ job/generic- run-snap- spread- tests/671 /jenkins. canonical. com/system- enablement/ job/generic- update- snap-mp/ 876/console
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/system- enablement/ job/generic- build-snap/ 968/rebuild
https:/