-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
package update
commit message to use correct template commit SHA
We previously read the template commit SHA from the package's `.cruft.json` before actually performing the update. However, this commit SHA wouldn't match the actually commit SHA of the actual template commit when updating a package to a new template version. This commit changes the field `PackageTemplater.template_commit` to a property and reads the value from `.cruft.json` at the time the field is read. This ensures that we always read the correct commit SHA when we commit template changes in `package update`.
- Loading branch information
Showing
2 changed files
with
55 additions
and
3 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