Skip to content

Commit

Permalink
0.4.0a1
Browse files Browse the repository at this point in the history
  • Loading branch information
shahharsh176 committed Aug 7, 2024
1 parent 40530d0 commit 3cb4ea8
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 24 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release-zango.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths:
- 'CHANGELOG.md'
branches:
- main
- 0-4-0-alpha

jobs:
check-publish:
Expand Down Expand Up @@ -60,12 +60,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/zango:latest
# - name: Build and Push Docker image
# uses: docker/build-push-action@v4
# with:
# context: .
# push: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/zango:latest

- name: Build and Push Docker image with tag
uses: docker/build-push-action@v4
Expand Down Expand Up @@ -163,15 +163,15 @@ jobs:
with:
file: CHANGELOG.md
pattern: '${{ needs.check-publish.outputs.version }}'
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

with:
tag_name: v${{ needs.check-publish.outputs.version }}
release_name: v${{ needs.check-publish.outputs.version }}
prerelease: false
draft: false
body: ${{ steps.extract-changelog.outputs.markdown }}
# with:
# tag_name: v${{ needs.check-publish.outputs.version }}
# release_name: v${{ needs.check-publish.outputs.version }}
# prerelease: false
# draft: false
# body: ${{ steps.extract-changelog.outputs.markdown }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0a1] - 2024-08-06

### Added

- Zango App Release workflow

## [0.3.0] - 2024-08-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion backend/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

README = os.path.join(PROJECT_DIR, "README.md")

PLATFORM_VERSION = "0.3.0"
PLATFORM_VERSION = "0.4.0a1"


def get_requirements(env):
Expand Down
2 changes: 1 addition & 1 deletion backend/src/zango/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from zango.core import internal_requests

__version__ = "0.3.0"
__version__ = "0.4.0a1"
2 changes: 1 addition & 1 deletion deploy/dev.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kczelthy/zango:latest
FROM kczelthy/zango:0.4.0a1

RUN apt update
RUN apt-get install -y net-tools
Expand Down
2 changes: 1 addition & 1 deletion deploy/docker_compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
retries: 3

celery_beat:
image: kczelthy/zango:latest
image: kczelthy/zango:0.4.0a1
command: /bin/sh -c "cd ${PROJECT_NAME} && celery -A ${PROJECT_NAME} beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler"
volumes:
- .:/zango/
Expand Down
2 changes: 1 addition & 1 deletion deploy/docker_compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ services:
retries: 3

celery_beat:
image: kczelthy/zango:latest
image: kczelthy/zango:0.4.0a1
command: /bin/sh -c "cd ${PROJECT_NAME} && celery -A ${PROJECT_NAME} beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler"
volumes:
- .:/zango/
Expand Down
2 changes: 1 addition & 1 deletion deploy/prod.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kczelthy/zango:latest
FROM kczelthy/zango:0.4.0a1

RUN apt update
RUN pip install gunicorn
Expand Down

0 comments on commit 3cb4ea8

Please sign in to comment.