File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 7272 shell : bash
7373 run : |
7474 mkdir -p helm-releases
75+ VERSION=${{ steps.version.outputs.version }}
76+ # Remove 'v' prefix from version
77+ CHART_VERSION=${VERSION#v}
7578 helm package manifests/helm/kepler -d helm-releases
79+ # Rename the helm chart to include 'helm' identifier
80+ mv helm-releases/kepler-${CHART_VERSION}.tgz helm-releases/kepler-helm-${CHART_VERSION}.tgz
81+
82+ - name : Build Kepler binary
83+ shell : bash
84+ run : |
85+ VERSION=${{ steps.version.outputs.version }}
86+ # Remove 'v' prefix from version
87+ VERSION=${VERSION#v}
88+ make build PRODUCTION=1
89+ mv bin/kepler-release bin/kepler
90+ # Currently the binary is built for linux-amd64 only
91+ tar -czvf bin/kepler-${VERSION}.linux-amd64.tar.gz bin/kepler
7692
7793 - name : Create GitHub Release
7894 uses : softprops/action-gh-release@v2
84100 make_latest : true
85101 files : |
86102 helm-releases/*.tgz
103+ bin/*.tar.gz
87104 env :
88105 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89106
You can’t perform that action at this time.
0 commit comments