Skip to content

Commit

Permalink
Some testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwizi committed May 14, 2024
1 parent c201b7e commit 896e4a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/generate-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ jobs:
echo "No changes to commit"
fi
- name: Extract versions from pyproject.toml
id: extract_versions
run: |
API_VERSION=$(awk -F ' = ' '/version =/ {gsub(/"/, "", $2); print $2}' api/pyproject.toml)
BOT_VERSION=$(awk -F ' = ' '/version =/ {gsub(/"/, "", $2); print $2}' src/pyproject.toml)
echo "API_RELEASE_VERSION=$API_VERSION" >> $GITHUB_ENV
echo "BOT_RELEASE_VERSION=$BOT_VERSION" >> $GITHUB_ENV
echo "::set-output name=api_version::$API_VERSION"
echo "::set-output name=bot_version::$BOT_VERSION
shell: /usr/bin/bash -e {0}
- name: Discord notification
env:
Expand All @@ -68,8 +69,8 @@ jobs:
tag_name: Build-${{ github.run_id }}
token: ${{ secrets.RELEASE_GIT_TOKEN }}
body: |
API Version: ${{ env.API_RELEASE_VERSION }}
Bot Version: ${{ env.BOT_RELEASE_VERSION }}
API Version: ${{ steps.extract_metadata.outputs.api_version }}
Bot Version: ${{ steps.extract_metadata.outputs.bot_version }}
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
Expand Down
2 changes: 1 addition & 1 deletion api/src/cs2_battle_bot/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@

SWAGGER_SETTINGS = {"SECURITY_DEFINITIONS": {"Basic": {"type": "basic"}}}

TEST = 17
TEST = 18

0 comments on commit 896e4a7

Please sign in to comment.