Skip to content

Commit

Permalink
Allow to specify git fork of distribution-scripts in CI (crystal-lang…
Browse files Browse the repository at this point in the history
  • Loading branch information
miry authored Nov 25, 2023
1 parent 30d998e commit f9b7226
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
version: 2.1

parameters:
distribution-scripts-repo:
description: "Git url https://github.com/crystal-lang/distribution-scripts/"
type: string
default: "https://github.com/crystal-lang/distribution-scripts.git"
distribution-scripts-version:
description: "Git ref for version of https://github.com/crystal-lang/distribution-scripts/"
type: string
Expand Down Expand Up @@ -142,7 +146,7 @@ jobs:
steps:
# checkout specific distribution-scripts version to perform releases and nightly
- run: |
git clone https://github.com/crystal-lang/distribution-scripts.git ~/distribution-scripts
git clone << pipeline.parameters.distribution-scripts-repo >> ~/distribution-scripts
cd ~/distribution-scripts
git checkout << pipeline.parameters.distribution-scripts-version >>
# persist relevant information for build process
Expand Down

0 comments on commit f9b7226

Please sign in to comment.