Skip to content

Commit

Permalink
Fix 'Reset Visual Studio Code extension version number after release'
Browse files Browse the repository at this point in the history
See gh-142
  • Loading branch information
philwebb committed Feb 21, 2023
1 parent 443bfd6 commit 37cb748
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fi
echo "Staging ${stageVersion} (next version will be ${nextVersion})"
run_maven versions:set -DnewVersion=${stageVersion} -DgenerateBackupPoms=false
run_maven org.eclipse.tycho:tycho-versions-plugin:update-eclipse-metadata
run_maven --projects io.spring.javaformat:spring-javaformat-vscode-extension antrun:run@update-version
run_maven --projects io.spring.javaformat:spring-javaformat-vscode-extension -P '!formatter-dependencies' antrun:run@update-version

git config user.name "Spring Builds" > /dev/null
git config user.email "[email protected]" > /dev/null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,19 @@
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-formatter-shaded</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>formatter-dependencies</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-formatter-shaded</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

0 comments on commit 37cb748

Please sign in to comment.