Skip to content

Commit

Permalink
Merge pull request #169 from ZettaScaleLabs/hotfix-0.11.0
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
gabrik authored Jun 13, 2024
2 parents 55707dc + a68ec7c commit 4104e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/branch-bump-tag-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ jobs:
branch: ${{ steps.create-release-branch.outputs.branch }}
steps:
- id: create-release-branch
uses: eclipse-zenoh/ci/create-release-branch@main
uses: eclipse-zenoh/ci/create-release-branch@hotfix-0.11.0
with:
repo: ${{ inputs.repo }}
live-run: ${{ inputs.live-run }}
version: ${{ inputs.version }}
branch: ${{ inputs.branch }}
github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }}

- uses: eclipse-zenoh/ci/bump-crates@main
- uses: eclipse-zenoh/ci/bump-crates@hotfix-0.11.0
with:
repo: ${{ inputs.repo }}
path: ${{ inputs.path }}
Expand Down
4 changes: 2 additions & 2 deletions src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ export function cloneFromGitHub(repo: string, options: CloneFromGitHubOptions) {
options.token == undefined ? `https://github.com/${repo}.git` : `https://${options.token}@github.com/${repo}.git`;

const command = ["git", "clone", "--recursive", "--single-branch"];
if (options.branch != "" && options.branch != undefined) {
if (options.branch) {
command.push("--branch", options.branch);
}
command.push(remote);
if (options.path != "" && options.path != undefined) {
if (options.path) {
command.push(options.path);
}

Expand Down

0 comments on commit 4104e3b

Please sign in to comment.