Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Types of changes:
### Dependencies

### Other
- Fixed the pre-release workflow publishing its source distribution under the released version instead of the pre-release one. `build_sdist.sh` ran `git reset --hard` and `git clean -xdf`, which discarded the `pyproject.toml` version that the preceding step had just stamped, so a run that built `1.1.0a0` wheels built a `1.1.0` sdist and PyPI rejected it as a duplicate. `pre_build.sh` already resets the tree, so the second reset is gone. It also no longer destroys uncommitted work when the script is run locally. ([#413](https://github.com/qBraid/pyqasm/pull/413))
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- Added a `SECURITY.md` with a private vulnerability disclosure path. There was no documented way to report one, leaving a public issue or a guessed email address as the only options. Reports now go through this repository's GitHub security advisory form. ([#383](https://github.com/qBraid/pyqasm/pull/383))

## Past Release Notes
Expand Down
4 changes: 0 additions & 4 deletions bin/build_sdist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ set -x
# current working directory
TARGET_PATH="${1:-$(pwd)}"

# Reset the uncommitted changes which may have been made
git reset --hard HEAD
git clean -xdf

PROJECT_ROOT=$(git rev-parse --show-toplevel)

# Create a temporary dir, XXXXX will be replaced by a random string
Expand Down
Loading