@docupace/pipeline 1.0.0-alpha.30 → 1.0.0-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/changeset/cli.js +1 -15
package/package.json
CHANGED
package/src/changeset/cli.js
CHANGED
|
@@ -14,7 +14,7 @@ const DIR = path.resolve(process.cwd());
|
|
|
14
14
|
async function setGitInfo() {
|
|
15
15
|
await $`git config --global user.email "gitops@docupace.com"`;
|
|
16
16
|
await $`git config --global user.name "Gitops"`;
|
|
17
|
-
|
|
17
|
+
await $`git remote set-url origin https://x-token-auth:${process.env.THIS_REP_TOKEN}@bitbucket.org/${process.env.BITBUCKET_REPO_FULL_NAME}.git`;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
const changeSetPackage = `{
|
|
@@ -34,20 +34,6 @@ const changeSetPackage = `{
|
|
|
34
34
|
}
|
|
35
35
|
`
|
|
36
36
|
|
|
37
|
-
const nodeDocker = `
|
|
38
|
-
# Use a Node.js base image
|
|
39
|
-
FROM node:18
|
|
40
|
-
|
|
41
|
-
# Set the working directory inside the container
|
|
42
|
-
WORKDIR /app
|
|
43
|
-
|
|
44
|
-
# Install pnpm globally
|
|
45
|
-
RUN npm install -g pnpm
|
|
46
|
-
|
|
47
|
-
# Default command (can be overridden in the docker run command)
|
|
48
|
-
CMD ["node"]
|
|
49
|
-
`
|
|
50
|
-
|
|
51
37
|
async function versionCommand() {
|
|
52
38
|
console.log('📦 Running Changeset versioning...');
|
|
53
39
|
await setGitInfo();
|