Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
longshuicy committed Feb 5, 2024
1 parent 4e64e6b commit d01e500
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ jobs:
helm repo add ncsa https://opensource.ncsa.illinois.edu/charts
helm dep build
- name: get release info
- name: Get release info
id: release_info
run: |
version="$(awk '/^version:/ { print $2} ' Chart.yaml)"
changelog="$(sed -e "1,/^### ${version}/d" -e "/^###/,\$d" -e '/^$/d' README.md)"
changelog="${changelog//'%'/'%25'}"
changelog="${changelog//$'\n'/'%0A'}"
changelog="${changelog//$'\r'/'%0D'}"
echo "$version=${$version}" >> $GITHUB_ENV
echo "$changelog=${$changelog}" >> $GITHUB_ENV
echo "$version=${version}" >> $GITHUB_ENV
echo "$changelog=${changelog}" >> $GITHUB_ENV
- name: Print Github Info
run: |
Expand All @@ -70,7 +70,7 @@ jobs:
chart-folder: "."
force: true

- name: create release
- name: Create release
if: github.event_name != 'pull_request' && github.repository == env.MAIN_REPO
uses: actions/create-release@v1
id: create_release
Expand Down

0 comments on commit d01e500

Please sign in to comment.