Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert PR39 'Adds semantic versioning and release publishing' #65

Merged
merged 1 commit into from
May 18, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
path-to-signatures: 'cla-bot/v1/cla.json'
# branch should not be protected
branch: 'main'
allowlist: user1,bot*,actions-user*
allowlist: user1,bot*
remote-organization-name: mlcommons
remote-repository-name: systems

Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/version_and_release.yml
Original file line number Diff line number Diff line change
@@ -1,61 +0,0 @@
name: Update version and publish release
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set Up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install protolock
run: |
go install github.com/nilslice/protolock/cmd/protolock@latest
protolock
- name: Check broken compatibility and update version
run: |
python3 version.py
echo "RELEASE_TAG=$(cat VERSION)" >> $GITHUB_ENV
- name: Commit changes
uses: EndBug/add-and-commit@v9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
author_name: GitHub Actions
author_email: actions@github.com
message: Release ${{ env.RELEASE_TAG }}
add: "['VERSION', 'proto.lock']"
push: "-o ci.skip"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.RELEASE_TAG }}
release_name: Release ${{ env.RELEASE_TAG }}
body: |
Release ${{ env.RELEASE_TAG }}
draft: false
prerelease: false
- name: Build wheel
run: |
pip install --upgrade build
python3 -m build
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/chakra-${{ env.RELEASE_TAG }}-py3-none-any.whl
asset_name: chakra.whl
asset_content_type: application/whl
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ __pycache__/
*.egg
*.et
*.dot
.pyre
.pyre
1 change: 0 additions & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
0.4.0
Loading
Loading