Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anaconda workflow #195

Merged
merged 7 commits into from Feb 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/publish_conda.yaml
@@ -0,0 +1,18 @@
name: publish_conda

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: publish-to-conda
uses: sepandhaghighi/conda-package-publish-action@v1.2
with:
subDir: 'otherfile'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
File renamed without changes.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3. fancy138
4. fancy139
5. fancy140
- Anaconda workflow
### Changed
- `__word2art` function modified
- `font_wizard.py` modified
Expand Down
37 changes: 37 additions & 0 deletions otherfile/meta.yaml
@@ -0,0 +1,37 @@
{% set name = "art" %}
{% set version = "5.4" %}

package:
name: {{ name|lower }}
version: {{ version }}
source:
git_url: https://github.com/sepandhaghighi/art
git_rev: v{{ version }}
build:
noarch: python
number: 0
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- setuptools
- python >=3.5
run:
- python >=3.5
about:
home: https://github.com/sepandhaghighi/art
license: MIT
license_family: MIT
summary: ASCII art library for Python
description: |
ASCII art is also known as "computer text art".
It involves the smart placement of typed special characters or
letters to make a visual shape that is spread over multiple lines of text.
ART is a Python lib for text converting to ASCII art fancy.

Website: https://www.4r7.ir

Repo: https://github.com/sepandhaghighi/art
extra:
recipe-maintainers:
- sepandhaghighi
5 changes: 4 additions & 1 deletion otherfile/version_check.py
Expand Up @@ -29,6 +29,8 @@
ART_LIST_ITEMS = ["### Version : {0}"]
FONT_LIST_ITEMS = ["### Version : {0}"]
PARAMS_ITEMS = ['ART_VERSION = "{0}"']
META_ITEMS = ['% set version = "{0}" %']

FILES = {
"setup.py": SETUP_ITEMS,
"INSTALL.md": INSTALL_ITEMS,
Expand All @@ -37,7 +39,8 @@
"ArtList.ipynb": ART_LIST_ITEMS,
os.path.join(
"art",
"art_param.py"): PARAMS_ITEMS}
"art_param.py"): PARAMS_ITEMS,
os.path.join("otherfile", "meta.yaml"): META_ITEMS}

TEST_NUMBER = len(FILES.keys()) + 1

Expand Down