Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feda3d9 commit cadf950Copy full SHA for cadf950
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "github-run-script",
3
- "version": "1.1.3",
+ "version": "1.1.4",
4
"description": "Run a script on multiple repositories, cloning them if needed.",
5
"main": "dist/index.js",
6
"type": "commonjs",
src/templates/cp.ts
@@ -35,9 +35,9 @@ export default class CpTemplate implements Template {
35
flags: GenerateTemplateCliFlags
36
) => {
37
const templateString = `#!/bin/bash
38
-$FILE="${source_file}"
39
-$RELATIVE_DEST="${dest_path}"
40
-$COMMIT_MESSAGE="${commit_message}"
+FILE="${source_file}"
+RELATIVE_DEST="${dest_path}"
+COMMIT_MESSAGE="${commit_message}"
41
git pull
42
cp -r $FILE "$RELATIVE_DEST"
43
git add "$RELATIVE_DEST"
0 commit comments