Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmetic main_arm.yml change #13

Open
sq5bpf opened this issue May 20, 2024 · 0 comments
Open

cosmetic main_arm.yml change #13

sq5bpf opened this issue May 20, 2024 · 0 comments

Comments

@sq5bpf
Copy link

sq5bpf commented May 20, 2024

i'd propose a minor change to .github/workflows/main_arm.yml

before:
TAG=$(curl -s https://raw.githubusercontent.com/meshtastic/firmware/master/version.properties | sed -nE 's/major = ([0-9]+)/\1./p; s/minor = ([0-9]+)/\1./p; s/build = ([0-9]+)/\1/p' | tr -d '\n'; echo)

after:
TAG=$( awk '/=/ { x[$1]=$3 } END { print x["major"] "." x["minor"] "." x["build"] }' /tmp/firmware/master/version.properties )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant