Skip to content

Commit

Permalink
Release 0.9.0 (#27)
Browse files Browse the repository at this point in the history
* initial migration of hitide backfill tool (#25)

* update pyproject.toml version

* /version 0.9.0-alpha.4

* Feature/terraform deploy (#26)

* add in vpc_id and security group lookups

* removed pyc files

* /version 0.9.0-alpha.4

* update terraform deploy

* update to have default message config passed in as a configuration

* update forge py

* moved regression and memory profiler scripts

* fix pylint, add changelog, and update forge-py

* update default message config with example values

---------

Co-authored-by: sliu008 <[email protected]>

* /version 0.9.0-alpha.5

* /version 0.9.0-alpha.6

* Release 0.9.0

* /version

* /version 0.9.0-rc.1

* /version 0.9.0-rc.2

* Update dependencies

* /version 0.9.0-rc.3

* update forge-py uat to 0.9.0 release candidate 5.0

* /version 0.9.0-rc.4

* update forge-py (#30)

* /version 0.9.0-rc.5

* update forge-py to 0.2.0 rc 6

* /version 0.9.0-rc.6

* Feature/update scripts (#29)

* add in vpc_id and security group lookups

* removed pyc files

* /version 0.9.0-alpha.4

* update terraform deploy

* update to have default message config passed in as a configuration

* update forge py

* moved regression and memory profiler scripts

* fix pylint, add changelog, and update forge-py

* update default message config with example values

* update regression and memory profiler scripts

* update python libraries

* poetry update

* update preview message

---------

Co-authored-by: sliu008 <[email protected]>

* /version 0.10.0-alpha.2

* /version 0.9.0-rc.7

* update license

* /version 0.9.0-rc.8

---------

Co-authored-by: Simon Liu <[email protected]>
Co-authored-by: Simon Liu <[email protected]>
Co-authored-by: sliu008 <[email protected]>
Co-authored-by: jamesfwood <[email protected]>
Co-authored-by: cqbanh <[email protected]>
Co-authored-by: James Wood <[email protected]>
Co-authored-by: podaac-tig bot <[email protected]>
  • Loading branch information
8 people authored Sep 5, 2024
1 parent fb2310c commit 8d0e7fa
Show file tree
Hide file tree
Showing 82 changed files with 12,339 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
#ignore = ...
max-line-length=180
63 changes: 63 additions & 0 deletions .github/workflows/.release-created.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

name: Release Branch Created

# Run whenever a ref is created https://docs.github.com/en/actions/reference/events-that-trigger-workflows#create
on:
create

jobs:
# First job in the workflow builds and verifies the software artifacts
bump:
name: Bump minor version on develop
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Only run if ref created was a release branch
if:
${{ startsWith(github.ref, 'refs/heads/release/') }}
steps:
# Checks-out the develop branch
- uses: actions/checkout@v4
with:
ref: 'refs/heads/develop'
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.3.2
- name: Bump minor version
env:
COMMIT_VERSION: ${{ github.ref }}
run: |
# only update the develop branch if were making #.#.0 release
# Get the branch name from the GITHUB_REF environment variable
branch_name=${GITHUB_REF#refs/heads/}
# Extract the last number in the branch name using a regular expression
if [[ $branch_name =~ /([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
first_number=${BASH_REMATCH[1]}
middle_number=${BASH_REMATCH[2]}
last_number=${BASH_REMATCH[3]}
# Increment the middle number by 1
incremented_middle_number=$((middle_number + 1))
# Check if the last number is '0'
if [ "$last_number" == "0" ]; then
update_version=$first_number.$incremented_middle_number.$last_number-alpha.1
poetry version $update_version
echo "software_version=$update_version" >> $GITHUB_ENV
git config --global user.name 'podaac-tig bot'
git config --global user.email '[email protected]'
git commit -am "/version ${{ env.software_version }}"
git push
fi
fi
Loading

0 comments on commit 8d0e7fa

Please sign in to comment.