Skip to content

Commit 031fd27

Browse files
Merge pull request #24 from Staffbase/fix/dev-branch-variable
use `${branch}` in checkout command
2 parents 381b299 + 73dcd89 commit 031fd27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/autodev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const autoDev = async (): Promise<void> => {
3434
await exec('git fetch')
3535
await exec(`git config --global user.email "${email}"`)
3636
await exec(`git config --global user.name "${user}"`)
37-
await exec('git checkout dev')
37+
await exec(`git checkout ${branch}`)
3838
await exec(`git reset --hard origin/${base}`)
3939

4040
if (pulls.length === 0) {

0 commit comments

Comments
 (0)