Skip to content

Commit

Permalink
chore: update release and publish process
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Romero Montes <[email protected]>
  • Loading branch information
ruromero committed Nov 14, 2023
1 parent 8ca03aa commit d531af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>14</maven.compiler.release>
<js-api>${project.build.directory}/js-api</js-api>
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
<timestamp>${maven.build.timestamp}</timestamp>
<!-- Dependencies -->
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
Expand Down Expand Up @@ -564,7 +562,7 @@ limitations under the License.]]>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>publish --new-version ${timestamp}</arguments>
<arguments>run publish:snapshot</arguments>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 2 additions & 1 deletion src/filtered/js-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"scripts": {
"lint": "eslint model/**/* --ext js --fix",
"precompile": "rm -rf dist && npm run lint",
"compile": "tsc -p tsconfig.json"
"compile": "tsc -p tsconfig.json",
"publish:snapshot": "npm version prerelease --preid snapshot && npm publish --tag snpashot"
},
"keywords": [
"analysis",
Expand Down

0 comments on commit d531af0

Please sign in to comment.