Skip to content

Commit

Permalink
Update changelog post v1.4.0 and fix related action (#1446)
Browse files Browse the repository at this point in the history
* fix: updates the changelog and fixes the action, hopefully

* missing quotation marks

* docs: better pr message

* renamed job

---------

Co-authored-by: Claudia Comito <[email protected]>
  • Loading branch information
JuanPedroGHM and ClaudiaComito authored Apr 22, 2024
1 parent 0f381db commit ad27f0a
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/changelog-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
update:
update-changelog:
permissions:
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo
runs-on: ubuntu-latest
Expand All @@ -25,18 +25,31 @@ jobs:
ref: ${{ github.event.release.target_commitish }}
- name: Update Changelog
run: |
echo ${{ format('\# {0} - {1}', env.GITHUB_REF, github.event.release.name) }} > cl_title.md
echo ${{ github.event.release.body }} > cl_new_body.md
echo $RELEASE_TITLE > cl_title.md
echo "$RELEASE_BODY" > cl_new_body.md
echo "" > newline.txt
cat cl_title.md newline.txt cl_new_body.md newline.txt CHANGELOG.md > tmp
mv tmp CHANGELOG.md
rm cl_title.md
rm cl_new_body.md
rm newline.txt
cat CHANGELOG.md
- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
env:
RELEASE_TITLE: ${{ format('# {0} - {1}', github.event.release.tag_name, github.event.release.name) }}
RELEASE_BODY: ${{ github.event.release.body }}
- name: Create PR
uses: peter-evans/create-pull-request@c55203cfde3e5c11a452d352b4393e68b85b4533 # v6.0.3
with:
branch: ${{ github.event.release.target_commitish }}
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
base: main
branch: post-release-changelog-update
delete-branch: true
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update Changelog post release
title: Update Changelog post release
body: |
This PR updates the changelog post release.
Changed files should include an updated CHANGELOG.md containing the release notes from the latest release.
reviewers: ClaudiaComito, mtar, JuanPedroGHM
labels: chore, github_actions
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# v1.4.0 - Interactive HPC tutorials, distributed FFT, batch-parallel clustering, support PyTorch 2.2.2

## Changes

### Documentation

- #1406 New tutorials for interactive parallel mode for both HPC and local usage (by @ClaudiaComito)

### 🔥 Features

- #1288 Batch-parallel K-means and K-medians (by @mrfh92)
- #1228 Introduce in-place-operators for `arithmetics.py` (by @LScheib)
- #1218 Distributed Fast Fourier Transforms (by @ClaudiaComito)

### Bug fixes

- #1363 `ht.array` constructor respects implicit torch device when copy is set to false (by @JuanPedroGHM)
- #1216 Avoid unnecessary gathering of distributed operand (by @samadpls)
- #1329 Refactoring of QR: stabilized Gram-Schmidt for split=1 and TS-QR for split=0 (by @mrfh92)

### Interoperability

- #1418 and #1290: Support PyTorch 2.2.2 (by @mtar)
- #1315 and #1337: Fix some NumPy deprecations in the core and statistics tests (by @FOsterfeld)

# v1.3.1 - Bug fixes, Docker documentation update

## Bug fixes
Expand Down

0 comments on commit ad27f0a

Please sign in to comment.