Skip to content

Commit

Permalink
fix: include sonarcloud file into the release commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Sep 19, 2023
1 parent e9fba55 commit 6714003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ readonly DRY_RUN="${DRY_RUN:-true}"
readonly CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
readonly ROOT_DIR="$(dirname "$CURRENT_DIR")"
readonly MKDOCS_FILE="${ROOT_DIR}/mkdocs.yml"
readonly SONARCLOUD_FILE="${ROOT_DIR}/sonar-project.properties"
readonly VERSION_FILE="${ROOT_DIR}/internal/version.go"

readonly REPOSITORY="github.com/testcontainers/testcontainers-go"
Expand Down Expand Up @@ -120,6 +121,7 @@ function gitCommitVersion() {

gitFn add "${VERSION_FILE}"
gitFn add "${MKDOCS_FILE}"
gitFn add "${SONARCLOUD_FILE}"
gitFn add "docs/**/*.md"
gitFn add "examples/**/go.*"
gitFn add "modules/**/go.*"
Expand Down

0 comments on commit 6714003

Please sign in to comment.