Skip to content

Commit

Permalink
Merge pull request #51 from lsst-sqre:tickets/DM-39884-fix-release
Browse files Browse the repository at this point in the history
DM-39884: Fix releases for 1.0 branch (1.0.7 release)
  • Loading branch information
jonathansick authored Jul 5, 2023
2 parents b9e454c + 70c7e40 commit 9eb5cee
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12,324 deletions.
38 changes: 11 additions & 27 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # full history for setuptools_scm

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
name: Use Node.js
with:
node-version: 14
node-version-file: ".nvmrc"

- name: NPM install
run: |
Expand Down Expand Up @@ -65,41 +65,25 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # full history for setuptools_scm

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
name: Use Node.js
with:
node-version: 14
node-version-file: ".nvmrc"

- name: NPM install
run: |
npm install -g gulp-cli
npm install
- name: Python install
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel
- name: Build assets
run: gulp assets --env=deploy

- name: Build
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_SQRE_ADMIN }}
run: python setup.py sdist bdist_wheel

- name: Upload
uses: pypa/gh-action-pypi-publish@release/v1
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v1
with:
user: __token__
password: ${{ secrets.PYPI_SQRE_ADMIN }}
pypi-token: ${{ secrets.PYPI_SQRE_ADMIN }}
python-version: "3.11"
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14.5.0
Loading

0 comments on commit 9eb5cee

Please sign in to comment.