Skip to content

Commit

Permalink
adding older linux distro to the grid
Browse files Browse the repository at this point in the history
  • Loading branch information
msciabarra committed Oct 13, 2023
1 parent 68bc1cb commit dc530e5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, ubuntu-20.04, macos-latest, windows-latest]
go: [1.20.x]
runs-on: ${{ matrix.os }}
steps:
Expand Down
19 changes: 19 additions & 0 deletions bin/nuvfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,25 @@ tasks:
- ./nuv linux build ARCH=arm64
- cp linux/*.deb linux/*.rpm ..

ubuntu-20.04:
desc: build a deb and rpm installer for linux
cmds:
- test "{{OS}}" = "linux"
- echo {{.VERSION}} >linux/version.txt
- cp ../LICENSE linux/LICENSE
- ./nuv getall OS=linux ARCH=amd64
- ./nuv getall OS=linux ARCH=arm64
- ./nuv linux build ARCH=amd64
- ./nuv linux build ARCH=arm64
- |
for FILE in linux/*.deb linux/*.rpm
do
NEW="$(echo $FILE | sed 's/\(.*\)\(\.[a-zA-Z0-9]*\)$/\1_glibc2.31\2/')"
mv -v $FILE $NEW
done
- cp linux/*.deb linux/*.rpm ..


linux:
desc: commands to build linux setup
windows:
Expand Down

0 comments on commit dc530e5

Please sign in to comment.