mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-25 18:38:22 +01:00
Update README on version update
This commit is contained in:
parent
f7282c516c
commit
f262181b4e
16
README.md
16
README.md
@ -3,14 +3,14 @@
|
||||
[中文](./README_zh_CN.md)
|
||||
|
||||
<!-- start autogeneration tags -->
|
||||
* `1.1.76`, `1`, `1.1`, `latest`, `stable`
|
||||
* `1.0.0`, `1.0`
|
||||
* `0.17.79`, `0.17`
|
||||
* `0.16.51`, `0.16`
|
||||
* `0.15.40`, `0.15`
|
||||
* `0.14.23`, `0.14`
|
||||
* `0.13.20`, `0.13`
|
||||
* `0.12.35`, `0.12`
|
||||
* `1`, `1.1`, `1.1.80`, `latest`, `stable`
|
||||
* `1.0`, `1.0.0`
|
||||
* `0.17`, `0.17.79`
|
||||
* `0.16`, `0.16.51`
|
||||
* `0.15`, `0.15.40`
|
||||
* `0.14`, `0.14.23`
|
||||
* `0.13`, `0.13.20`
|
||||
* `0.12`, `0.12.35`
|
||||
<!-- end autogeneration tags -->
|
||||
|
||||
## Tag descriptions
|
||||
|
10
update.sh
10
update.sh
@ -48,10 +48,20 @@ else
|
||||
fi
|
||||
rm -f -- "$tmpfile"
|
||||
|
||||
readme_tags=$(cat buildinfo.json | jq --sort-keys 'keys[]' | tac | (while read line
|
||||
do
|
||||
tags="$tags\n* "$(cat buildinfo.json | jq --sort-keys ".$line.tags | sort | .[]" | sed 's/"/`/g' | sed ':a; /$/N; s/\n/, /; ta')
|
||||
done && echo $tags"\n"))
|
||||
|
||||
perl -i -0777 -pe "s/<!-- start autogeneration tags -->.+<!-- end autogeneration tags -->/<!-- start autogeneration tags -->$readme_tags<!-- end autogeneration tags -->/s" README.md
|
||||
|
||||
git config user.name github-actions[bot]
|
||||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||
|
||||
git add buildinfo.json
|
||||
git add README.md
|
||||
git commit -a -m "Auto Update Factorio to version: $version"
|
||||
|
||||
git tag -f latest
|
||||
git push
|
||||
git push origin --tags -f
|
||||
|
Loading…
Reference in New Issue
Block a user