Skip to content

Commit

Permalink
Upgrade Specmatic version to 2.0.0
Browse files Browse the repository at this point in the history
- Update Specmatic Executable to 2.0.0
- Change maven URL to `io/specmatic`.
  • Loading branch information
StarKhan6368 committed Jul 19, 2024
1 parent 9891258 commit df7e2f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "specmatic",
"version": "0.0.1",
"specmaticVersion": "1.3.38",
"specmaticVersion": "2.0.0",
"description": "Node wrapper for Specmatic",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/downloadSpecmaticJar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const path = require('path');
const packageJson = require('../package.json'); // Import the package.json file

const specmaticVersion = packageJson.specmaticVersion;
const jarUrl = `https://repo1.maven.org/maven2/in/specmatic/specmatic-executable/${specmaticVersion}/specmatic-executable-${specmaticVersion}-all.jar`;
const jarUrl = `https://repo1.maven.org/maven2/io/specmatic/specmatic-executable/${specmaticVersion}/specmatic-executable-${specmaticVersion}-all.jar`;
const jarFilename = 'specmatic.jar'; // Specify the desired filename for the JAR

const downloadPath = path.resolve(__dirname, '..', jarFilename);
Expand Down

0 comments on commit df7e2f0

Please sign in to comment.