Browse Source

ci(build): remove emojis from kernel version string

Clean up kernel version naming by removing unnecessary emojis and special characters while maintaining the essential version information. This improves professionalism and readability of the version strings.
TheWildJames 1 year ago
parent
commit
7298f295a1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -416,12 +416,12 @@ jobs:
           perl -pi -e 's/-dirty//' ./common/scripts/setlocalversion
           if [ -f "build/build.sh" ]; then
               #Set Kernel Name
-              perl -0777 -pi -e 's/(echo "\$res")(?!.*echo "\$res")/echo "\$res-( ͡° ͜ʖ ͡°)-🦄-${{ inputs.kernelsu_variant }}:v\$KSUVER-ඞ-SUSFS:v1.5.9-🥦💨-Wild"/s' ./common/scripts/setlocalversion
+              #perl -0777 -pi -e 's/(echo "\$res")(?!.*echo "\$res")/echo "\$res-( ͡° ͜ʖ ͡°)-${{ inputs.kernelsu_variant }}:v\$KSUVER-SUSFS:v1.5.9-Wild"/s' ./common/scripts/setlocalversion
               #Set Kernel Timestamp
               perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Sun Apr 20 04:20:00 UTC 2025"}' ./common/scripts/mkcompile_h
           else
               #Set Kernel Name
-              perl -pi -e 's{echo "\${KERNELVERSION}\${file_localversion}\${config_localversion}\${LOCALVERSION}\${scm_version}"}{echo "${KERNELVERSION}${file_localversion}${config_localversion}${LOCALVERSION}${scm_version}-( ͡° ͜ʖ ͡°)-🦄-${{ inputs.kernelsu_variant }}:v'"$KSUVER"'-ඞ-SUSFS:v1.5.9-🥦💨-Wild"}' /scripts/setlocalversion
+              #perl -pi -e 's{echo "\${KERNELVERSION}\${file_localversion}\${config_localversion}\${LOCALVERSION}\${scm_version}"}{echo "${KERNELVERSION}${file_localversion}${config_localversion}${LOCALVERSION}${scm_version}-( ͡° ͜ʖ ͡°)-🦄-${{ inputs.kernelsu_variant }}:v'"$KSUVER"'-ඞ-SUSFS:v1.5.9-🥦💨-Wild"}' /scripts/setlocalversion
               
               #Set Kernel Timestamp
               perl -pi -e 's/build-timestamp = \$\(or \$\(KBUILD_BUILD_TIMESTAMP\), \$\(build-timestamp-auto\)\)/build-timestamp = "Sun Apr 20 04:20:00 UTC 2025"/' ./common/init/Makefile