Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahZheng authored Sep 13, 2024
1 parent d7cd057 commit c7e46b2
Showing 1 changed file with 1 addition 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 @@ -116,7 +116,7 @@ jobs:
sed -i 's/GO_VERSION_PATCH:=12/GO_VERSION_PATCH:=1/g' ./feeds/packages/lang/golang/golang/Makefile
sed -i 's/PKG_HASH:=30e68af27bc1f1df231e3ab74f3d17d3b8d52a089c79bcaab573b4f1b807ed4f/PKG_HASH:=6ee44e298379d146a5e5aa6b1c5b5d5f5d0a3365eabdd70741e6e21340ec3b0d/g' ./feeds/packages/lang/golang/golang/Makefile
sed -i '/BOOTSTRAP_1_17_BUILD_DIR:=\$(HOST_BUILD_DIR)\/\.go_bootstrap_1\.17/a\ BOOTSTRAP_1_20_SOURCE:=go1.20.6.src.tar.gz\nBOOTSTRAP_1_20_SOURCE_URL:=\$(GO_SOURCE_URLS)\nBOOTSTRAP_1_20_HASH:=62ee5bc6fb55b8bae8f705e0cb8df86d6453626b4ecf93279e2867092e0b7f70\n\nBOOTSTRAP_1_20_BUILD_DIR:=\$(HOST_BUILD_DIR)\/.go_bootstrap_1.20' ./feeds/packages/lang/golang/golang/Makefile
sed -i '/# don'\''t strip ELF executables in test data/i\ BOOTSTRAP_1_20_UNPACK:=$(HOST_TAR) -C \"\$(BOOTSTRAP_1_20_BUILD_DIR)\" --strip-components=1 -xzf \"\$(DL_DIR)/\$(BOOTSTRAP_1_20_SOURCE)\"\n' ./feeds/packages/lang/golang/golang/Makefile
sed -i '/# don'\''t strip ELF executables in test data/i\ \nBOOTSTRAP_1_20_UNPACK:=$(HOST_TAR) -C \"\$(BOOTSTRAP_1_20_BUILD_DIR)\" --strip-components=1 -xzf \"\$(DL_DIR)/\$(BOOTSTRAP_1_20_SOURCE)\"\n' ./feeds/packages/lang/golang/golang/Makefile
sed -i '/\$(eval \$(call GoCompiler\/AddProfile,Bootstrap-1.17,\$(BOOTSTRAP_1_17_BUILD_DIR),,bootstrap-1.17,\$(GO_HOST_OS_ARCH)))/a\ \n# Bootstrap 1.20\n\ndefine Download/golang-bootstrap-1.20\n FILE:=\$(BOOTSTRAP_1_20_SOURCE)\n URL:=\$(BOOTSTRAP_1_20_SOURCE_URL)\n HASH:=\$(BOOTSTRAP_1_20_HASH)\nendef\n\$(eval \$(call Download,golang-bootstrap-1.20))\n\ndefine Bootstrap-1.20/Prepare\n mkdir -p \"\$(BOOTSTRAP_1_20_BUILD_DIR)\" \&\& \$(BOOTSTRAP_1_20_UNPACK) ;\nendef\nHooks/HostPrepare/Post+=Bootstrap-1.20/Prepare\n\n\$(eval \$(call GoCompiler\/AddProfile,Bootstrap-1.20,\$(BOOTSTRAP_1_20_BUILD_DIR),,bootstrap-1.20,\$(GO_HOST_OS_ARCH)))' ./feeds/packages/lang/golang/golang/Makefile
sed -i '/define Host\/Compile/,/endef/c\ define Host/Compile\n\t\$(call GoCompiler/Bootstrap/Make, \\\n\t\t\$(HOST_GO_VARS) \\\n\t)\n\n\t\$(call GoCompiler/Bootstrap-1.17/Make, \\\n\t\tGOROOT_BOOTSTRAP="\$(BOOTSTRAP_ROOT_DIR)" \\\n\t\t\$(HOST_GO_VARS) \\\n\t)\n\n\t\$(call GoCompiler/Bootstrap-1.20/Make, \\\n\t\tGOROOT_BOOTSTRAP="\$(BOOTSTRAP_1_17_BUILD_DIR)" \\\n\t\t\$(HOST_GO_VARS) \\\n\t)\n\n\t\$(call GoCompiler/Host/Make, \\\n\t\tGOROOT_BOOTSTRAP="\$(BOOTSTRAP_1_20_BUILD_DIR)" \\\n\t\t\$(if \$(HOST_GO_ENABLE_PIE),GO_LDFLAGS="-buildmode pie") \\\n\t\t\$(HOST_GO_VARS) \\\n\t)\nendef' ./feeds/packages/lang/golang/golang/Makefile
./scripts/feeds install -a
Expand Down

0 comments on commit c7e46b2

Please sign in to comment.