improve version number handling
-{% set version = "v0.4.0" %}
+{% set name = "rage" %}
+{% set version = "0.4.0" %}
package:
- name: rage
- version: {{ version.lstrip('v') }}
+ name: {{ name }}
+ version: {{ version }}
source:
- url: https://github.com/str4d/rage/archive/{{ version }}.tar.gz
+ url: https://github.com/str4d/{{ name }}/archive/v{{ version }}.tar.gz
sha256: 612754f0a78517dd3ac490a9860b996317dbabcc745e307b9c6e6cab4379c1e7
build:
