Sfoglia il codice sorgente

Update build-kernel-a13.yml

James McConnell 1 anno fa
parent
commit
7ca35b6c9c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      .github/workflows/build-kernel-a13.yml

+ 2 - 0
.github/workflows/build-kernel-a13.yml

@@ -167,6 +167,8 @@ jobs:
             # Run sed commands
             echo "Running sed commands..."
             sed -i '2s/check_defconfig//' ./common/build.config.gki
+            sed -i 's|UTS_VERSION="\$(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP | cut -b -\$UTS_LEN)"|UTS_VERSION="$(date "+%a %b %d %H:%M:%S UTC %Y")"|' ./common/scripts/mkcompile_h
+            sed -i 'N;$s|echo "\$res"|echo "\$res-Wild+"|' ./common/scripts/setlocalversion
             sed -i "s/dirty/'Wild+'/g" ./common/scripts/setlocalversion
             
             # Build the kernel