File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ jobs:
109109 PKG_NAME : " activity-browser-dev"
110110 steps :
111111 - uses : actions/checkout@v3
112+ with :
113+ fetch-depth : " 0"
112114 - name : Build and deploy 3.11
113115 uses : conda-incubator/setup-miniconda@v2
114116 with :
@@ -117,7 +119,7 @@ jobs:
117119 environment-file : .github/conda-envs/build.yml
118120 - name : Export version
119121 run : |
120- echo "VERSION=$(date +'%Y.%m.%d ')" >> $GITHUB_ENV
122+ echo "VERSION=$(git describe --tags --always | cut -d- -f1,2 | sed 's/-/dev/ ')" >> $GITHUB_ENV
121123 - name : Patch recipe with run requirements from stable
122124 uses : mikefarah/yq@master
123125 # Adds the run dependencies from the stable recipe to the dev recipe (inplace)
@@ -131,5 +133,5 @@ jobs:
131133 conda build .github/dev-recipe/
132134 - name : Upload the activity-browser-dev package
133135 run : |
134- anaconda -t ${{ secrets.CONDA_UPLOAD_TOKEN }} upload --force \
136+ anaconda -t ${{ secrets.CONDA_UPLOAD_TOKEN }} upload \
135137 /usr/share/miniconda/envs/build/conda-bld/noarch/*.tar.bz2
You can’t perform that action at this time.
0 commit comments