conda-forge / pangeo-dask-feedstock

A conda-smithy repository for pangeo-dask.
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

add logic to bump build number or calver on bot PRs #15

Open scottyhq opened 4 years ago

scottyhq commented 4 years ago

https://github.com/conda-forge/pangeo-dask-feedstock/pull/14/files

@jhamman Would be nice to change pangeo-bot PR titles from Update pangeo-dask metapackage version(s) to Updated distributed =2.15.2, dask=X, dask-gateway=X for easy referencing.

currently we get automatic updates with new version (distributed =2.15.2), but don't update {% set version = "2020.05.01" %} or number: 1 if the date hasn't changed.

{% set version = "2020.04.28" %}

package:
  name: pangeo-dask
  version: {{ version }}

build:
  number: 0
  noarch: generic

requirements:
  run:
    - dask =2.15.0
    - distributed =2.15.1
    - dask-kubernetes =0.10.1
    - dask-gateway =0.7.1
scottyhq commented 4 years ago

seems the calver does get updated for pangeo-notebook: https://github.com/conda-forge/pangeo-notebook-feedstock/pull/16/files

jhamman commented 4 years ago

We should be updating the date but I don't think we've implemented a build number bump. Both should be straightforward to do though.

https://github.com/pangeo-bot/pangeo-dask-feedstock/blob/5f9912122f53fe7d4624ad8eb9869191b1fc87ea/.github/workflows/watch-conda-forge.yml#L90-L96

scottyhq commented 4 years ago

missed this again in https://github.com/conda-forge/pangeo-dask-feedstock/pull/35