Skip to content

Commit

Permalink
Fix variables in json
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored Jun 29, 2024
1 parent 7027d6f commit 87a2ec4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,16 @@ jobs:
- name: 'Checkout Repo'
uses: actions/checkout@v4

- name: Generate Variables
run: |
VER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2)
MINTVER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2)
REL=$(grep "PKGREL=\d*" build.sh | cut -d = -f2)
echo Version is $VER
echo "kver=${VER}" >> $GITHUB_ENV
echo "mintver=${MINTVER}" >> $GITHUB_ENV
echo "isotag=${VER}-${REL}" >> $GITHUB_ENV
- name: Update the json
if: github.ref == 'refs/heads/main'
id: publish
Expand Down

0 comments on commit 87a2ec4

Please sign in to comment.