Skip to content

Commit

Permalink
fixing workflows (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnxenopoulos authored Jun 22, 2024
1 parent 4f4edbf commit 43305a1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 58 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/docs.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config repositories.pypi https://upload.pypi.org/legacy/
poetry config repositories.pypi https://pypi.org/simple/
- name: Install awpy
run: |
poetry install --no-interaction
- name: Publish to test PyPI
run: |
poetry publish --build --repository testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }} -v
poetry publish --build --repository testpypi --username __token__ --password ${{ secrets.TEST_PYPI_API_TOKEN }} -vvv
- name: Publish to PyPI
run: |
poetry publish --build --repository pypi --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} -v
poetry publish --build --repository pypi --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} -vvv
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<h1>Awpy</h1>

[![Awpy Discord](https://img.shields.io/discord/868146581419999232?color=blue&label=Discord&logo=discord)](https://discord.gg/W34XjsSs2H) [![Awpy Downloads](https://static.pepy.tech/personalized-badge/awpy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/awpy) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/awpy) [![Build](https://github.com/pnxenopoulos/awpy/actions/workflows/build.yml/badge.svg)](https://github.com/pnxenopoulos/awpy/actions/workflows/build.yml) [![Documentation Status](https://readthedocs.org/projects/awpy/badge/?version=latest)](https://awpy.readthedocs.io/en/latest/?badge=latest) [![MIT License](https://img.shields.io/badge/license-MIT-lightgrey)](https://github.com/pnxenopoulos/awpy/blob/main/LICENSE)
[![Awpy Discord](https://img.shields.io/discord/868146581419999232?color=blue&label=Discord&logo=discord)](https://discord.gg/W34XjsSs2H) [![Awpy Downloads](https://static.pepy.tech/personalized-badge/awpy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/awpy) [![Build](https://github.com/pnxenopoulos/awpy/actions/workflows/build.yml/badge.svg)](https://github.com/pnxenopoulos/awpy/actions/workflows/build.yml) [![Documentation Status](https://readthedocs.org/projects/awpy/badge/?version=latest)](https://awpy.readthedocs.io/en/latest/?badge=latest) [![MIT License](https://img.shields.io/badge/license-MIT-lightgrey)](https://github.com/pnxenopoulos/awpy/blob/main/LICENSE)

</div>

Expand Down
6 changes: 5 additions & 1 deletion docs/cli.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Command-Line Interface
=================================

You can also use Awpy in command-line form.
You can also use Awpy in command-line form. This is useful for automating tasks or for quick one-off operations. To get started, you can view the example below, which closely mirrors the parse demo example in the documentation.

.. code-block:: bash
awpy parse natus-vincere-vs-virtus-pro-m1-overpass.dem --verbose --noticks --norounds --player-props X,Y,Z --other-props is_bomb_planted
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# The short X.Y version
version = ""
# The full version, including alpha/beta/rc tags
release = "2.0.0a6"
release = "2.0.0a7"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "awpy"
version = "2.0.0a6"
version = "2.0.0a7"
description = "Counter-Strike 2 demo parsing, analysis and visualization"
readme = "README.md"
authors = [
Expand Down

0 comments on commit 43305a1

Please sign in to comment.