Skip to content

Commit

Permalink
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 9330066 commit 443bfd6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/scripts/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +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

git config user.name "Spring Builds" > /dev/null
git config user.email "spring-builds@users.noreply.github.com" > /dev/null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>update-version</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<replaceregexp file="package.json" flags="gm" byline="true"
match="(.+version.+:).*"
replace="\1 &quot;${project.version}&quot;,"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
Expand Down

0 comments on commit 443bfd6

Please sign in to comment.