2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-08 19:10:35 +00:00
lnbook/code/docker/check-versions.sh
keblek b7e86db8bd
Added script that fends and prints the versions
Given the fast rate of change many users will be changing and experimenting with different versions of the nodes.

This is a small script to help an unfamiliar new user find and see the variables that affect the versioning.
2021-02-08 13:50:22 +01:00

9 lines
252 B
Bash

#!/bin/bash
# a small script to help sanity check the versions of the different node implementations
dockerfiles=$(find . -name 'Dockerfile')
# print location of dockerfiles
echo $dockerfiles
# print variables
awk '/ENV/ && /VER|COMMIT/' $dockerfiles