Skip to content

Commit 453c3dc

Browse files
committed
[semver:patch]
branch checkout
1 parent 88edd01 commit 453c3dc

6 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/commands/checkout.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
description: This is git checkout branch.
2+
steps:
3+
- run:
4+
name: git checkout
5+
command: <<include(scripts/checkout.sh)>>
6+
- attach_workspace:
7+
at: workspace

src/jobs/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ steps:
44
- gh/install
55
- gh/setup
66
- gh/clone
7+
- checkout
78
- create_package
89
- upload_assets

src/jobs/unittests_job.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ steps:
44
- gh/install
55
- gh/setup
66
- gh/clone
7+
- checkout
78
- run_tests_command

src/jobs/validations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ steps:
44
- gh/install
55
- gh/setup
66
- gh/clone
7+
- checkout
78
- init_submodules
89
- validate_plugin_version
910
- validate_plugin_yaml

src/jobs/wagon.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ steps:
44
- gh/install
55
- gh/setup
66
- gh/clone
7+
- checkout
78
- init_submodules
89
- wagon_create

src/scripts/checkout.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
git checkout "${CIRCLE_BRANCH}"

0 commit comments

Comments
 (0)