Skip to content

Commit b002ac0

Browse files
authored
Fix-1386 (#1403)
* Fixes #1386 * Bump version to 3.4.2 * Bump release to 3.4.2 * Bump version to 3.4.2 * Update for 3.4.2
1 parent 25f1451 commit b002ac0

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ if [ "$release" = "1" ]; then
6969
fi
7070

7171
if [ "$release_docker" = "1" ]; then
72-
docker buildx build --push --platform linux/amd64,linux/arm64 -t olivierkorach/sonar-tools:3.4.1 -t olivierkorach/sonar-tools:latest -f release.Dockerfile .
72+
docker buildx build --push --platform linux/amd64,linux/arm64 -t olivierkorach/sonar-tools:3.4.2 -t olivierkorach/sonar-tools:latest -f release.Dockerfile .
7373
fi

doc/what-is-new.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Next version yet unreleased
1+
# Version 3.4.2
2+
3+
- Hotfix: Fix crash `sonar-audit` when SonarQube version is neither LTA nor Latest: [Issue #1386](https://github.com/okorach/sonar-tools/issues/1386)
24

35
# Version 3.4.1
46

release.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ COPY ./LICENSE .
3131
COPY ./sonar/audit sonar/audit
3232

3333
RUN pip install --upgrade pip \
34-
&& pip install sonar-tools==3.4.1
34+
&& pip install sonar-tools==3.4.2
3535

3636
USER ${USERNAME}
3737
WORKDIR /home/${USERNAME}

sonar/platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def _audit_lta_latest(self) -> list[Problem]:
641641
v = latest()
642642
if not v:
643643
return []
644-
return [Problem(rule, self.url, ".".join(sq_vers), ".".join(v))]
644+
return [Problem(rule, self.url, ".".join([str(n) for n in sq_vers]), ".".join([str(n) for n in v]))]
645645

646646

647647
# --------------------- Static methods -----------------

sonar/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
2525
"""
2626

27-
PACKAGE_VERSION = "3.4.1"
27+
PACKAGE_VERSION = "3.4.2"
2828
MIGRATION_TOOL_VERSION = "0.1.1"

0 commit comments

Comments
 (0)