We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84dda6e commit 24c12d4Copy full SHA for 24c12d4
.github/workflows/docker-image.yml
@@ -29,15 +29,15 @@ jobs:
29
id: version
30
run: |
31
rev=$(python - <<'PY'
32
-import re
33
-from pathlib import Path
34
-text = Path('nix/sources/clawdbot-source.nix').read_text()
35
-match = re.search(r'rev\s*=\s*"([^"]+)"', text)
36
-if not match:
37
- raise SystemExit('rev not found in nix/sources/clawdbot-source.nix')
38
-print(match.group(1))
+ import re
+ from pathlib import Path
+ text = Path('nix/sources/clawdbot-source.nix').read_text()
+ match = re.search(r'rev\s*=\s*"([^"]+)"', text)
+ if not match:
+ raise SystemExit('rev not found in nix/sources/clawdbot-source.nix')
+ print(match.group(1))
39
PY
40
-)
+ )
41
echo "rev=$rev" >> "$GITHUB_OUTPUT"
42
43
- name: Build image (aarch64-linux)
0 commit comments