Skip to content

Commit 12ba790

Browse files
committed
fix publish script, new release
1 parent 1337ffb commit 12ba790

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.github/workflows/python-publish.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
needs: release-build
3535
permissions:
36-
id-token: write # Required for trusted publishing
36+
id-token: write
3737

3838
steps:
3939
- name: Retrieve release distributions
@@ -53,29 +53,22 @@ jobs:
5353
steps:
5454
- uses: actions/checkout@v4
5555

56-
# Set up and activate Miniconda in "base"
5756
- name: Set up Miniconda
5857
uses: conda-incubator/setup-miniconda@v2
5958
with:
6059
auto-activate-base: true
61-
# If you want a specific Python version in base, you can set it here
62-
# python-version: 3.9
6360
channel-priority: strict
6461
channels: conda-forge
6562

66-
# Install conda-build and anaconda-client inside the same shell session
6763
- name: Install dependencies
6864
shell: bash -l {0}
6965
run: conda install -y conda-build anaconda-client
7066

71-
# Now conda-build is in PATH
7267
- name: Build Conda package
7368
shell: bash -l {0}
7469
run: conda-build conda-recipe
7570

76-
# Upload the built package
7771
- name: Upload Conda package
7872
shell: bash -l {0}
7973
run: |
80-
anaconda login --token ${{ secrets.ANACONDA_TOKEN }}
81-
anaconda upload --skip-existing $(conda-build --output conda-recipe)
74+
anaconda --token ${{ secrets.ANACONDA_TOKEN }} upload --skip-existing $(conda-build --output conda-recipe)

conda-recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package:
22
name: kissbt
3-
version: "0.1.2"
3+
version: "0.1.3"
44

55
source:
66
git_url: https://github.com/FinBlobs/kissbt.git
7-
git_tag: v0.1.2
7+
git_tag: v0.1.3
88

99
build:
1010
noarch: python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "kissbt"
7-
version = "0.1.2"
7+
version = "0.1.3"
88
description = "The keep it simple backtesting framework for Python."
99
readme = "README.md"
1010
authors = [

0 commit comments

Comments
 (0)