Skip to content

Commit

Permalink
fix(releaserc.json): fix prepareCmd in semantic-release exec plugin t…
Browse files Browse the repository at this point in the history
…o use yq command without the need for a shell

The prepareCmd was using the yq command with a shell, which is not necessary and can cause issues. By removing the shell, we can avoid any potential issues that may arise from using a shell with this command.
  • Loading branch information
JohGirard committed Sep 24, 2024
1 parent 2c7e9c1 commit 7392343
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "yq e '.ModuleVersion = \"${nextRelease.version}\"' -i version.yaml"
"prepareCmd": "yq '.ModuleVersion = \"${nextRelease.version}\"' -i version.yaml | tee version.yaml"
}
]
],
Expand Down
23 changes: 0 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
## [1.1.2](https://github.com/CloudAtScale/terraform-null-tags/compare/1.1.1...1.1.2) (2024-09-23)

### :package: Miscellaneous Chores

* **deps:** update terraform-docs/gh-actions action to v1.3.0 ([#7](https://github.com/CloudAtScale/terraform-null-tags/issues/7)) ([c20c280](https://github.com/CloudAtScale/terraform-null-tags/commit/c20c280e171365ae9a5a140ceae6efd659395d5b))

## [1.1.1](https://github.com/CloudAtScale/terraform-null-tags/compare/1.1.0...1.1.1) (2024-09-10)

### :package: Miscellaneous Chores

* **deps:** update terraform-docs/gh-actions action to v1.2.2 ([#6](https://github.com/CloudAtScale/terraform-null-tags/issues/6)) ([ceb87df](https://github.com/CloudAtScale/terraform-null-tags/commit/ceb87df6cfeb18e5f27fba7ae4e57c551a6a8de1))

## [1.1.0](https://github.com/CloudAtScale/terraform-null-tags/compare/1.0.0...1.1.0) (2024-07-16)

### :rocket: Features

* **vcs-providers:** add github and gitlab vcs providers ([#3](https://github.com/CloudAtScale/terraform-null-tags/issues/3)) ([1df211d](https://github.com/CloudAtScale/terraform-null-tags/commit/1df211d74fecf637460b52272f18f3299c946eba))
* **vcs-providers:** Define GitHub as a default VCS and add GitLab with GitLabProjectID ([#4](https://github.com/CloudAtScale/terraform-null-tags/issues/4)) ([7d47ef8](https://github.com/CloudAtScale/terraform-null-tags/commit/7d47ef8c5c1d864a72644cdfe1581d784ccb6b18))

### :books: Documentation

* Update the documentation ([63acfbe](https://github.com/CloudAtScale/terraform-null-tags/commit/63acfbef911bb9e0d9cae96adc3dac0e29253841))

## 1.0.0 (2024-07-15)

### :rocket: Features
Expand Down

0 comments on commit 7392343

Please sign in to comment.