@@ -18,7 +18,9 @@ function extract_encrypted_variables() {
1818 (shyaml -q keys-0 <<< " ${PLUGINS}" || true) |
1919 while IFS=' ' read -r -d ' ' PLUGIN_NAME; do
2020 # Skip plugins that are not named `cryptic`
21- if [[ " ${PLUGIN_NAME} " != staticfloat/cryptic* ]]; then
21+ # For now, support both JuliaCI/cryptic* and staticfloat/cryptic*, to make the
22+ # transition smoother.
23+ if [[ " ${PLUGIN_NAME} " != JuliaCI/cryptic* && " ${PLUGIN_NAME} " != staticfloat/cryptic* ]]; then
2224 continue
2325 fi
2426 # For each plugin, if its `cryptic`, extract the variables
@@ -65,7 +67,9 @@ function extract_encrypted_files() {
6567 (shyaml -q keys-0 <<< " ${PLUGINS}" || true) |
6668 while IFS=' ' read -r -d ' ' PLUGIN_NAME; do
6769 # Skip plugins that are not named `cryptic`
68- if [[ " ${PLUGIN_NAME} " != staticfloat/cryptic* ]]; then
70+ # For now, support both JuliaCI/cryptic* and staticfloat/cryptic*, to make the
71+ # transition smoother.
72+ if [[ " ${PLUGIN_NAME} " != JuliaCI/cryptic* && " ${PLUGIN_NAME} " != staticfloat/cryptic* ]]; then
6973 continue
7074 fi
7175 # For each plugin, if its `cryptic`, extract the files
@@ -76,7 +80,7 @@ function extract_encrypted_files() {
7680 done
7781 done
7882 done
79- done
83+ done
8084}
8185
8286# Calculate the treehashes of each signed pipeline defined within a launching `.yml` file,
@@ -113,7 +117,9 @@ function extract_plugin_treehashes() {
113117 (shyaml -q keys-0 <<< " ${PLUGINS}" || true) |
114118 while IFS=' ' read -r -d ' ' PLUGIN_NAME; do
115119 # Skip plugins that are not named `cryptic`
116- if [[ " ${PLUGIN_NAME} " != staticfloat/cryptic* ]]; then
120+ # For now, support both JuliaCI/cryptic* and staticfloat/cryptic*, to make the
121+ # transition smoother.
122+ if [[ " ${PLUGIN_NAME} " != JuliaCI/cryptic* && " ${PLUGIN_NAME} " != staticfloat/cryptic* ]]; then
117123 continue
118124 fi
119125
0 commit comments