Skip to content

Commit

Permalink
Tag new releases of farmOS/composer-project when a new version of far…
Browse files Browse the repository at this point in the history
…mOS is tagged #739
  • Loading branch information
mstenta committed Oct 23, 2023
1 parent 284b9a0 commit 6efa74d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deliver.yml
Expand Up @@ -161,6 +161,21 @@ jobs:
files: /tmp/farmOS-${{ env.FARMOS_VERSION }}.tar.gz
draft: false
prerelease: false
- name: Checkout the farmOS/composer-project repository
uses: actions/checkout@v3
with:
repository: farmOS/composer-project
ref: 2.x
path: composer-project
- name: Tag a new release of farmOS/composer-project
run: |
cd composer-project
cp /tmp/farmOS/composer.json ./
cp /tmp/farmOS/composer.lock ./
git add .
git commit -m 'farmOS ${{ env.FARMOS_VERSION }}'
git tag ${{ env.FARMOS_VERSION }}
git push origin ${{ env.FARMOS_VERSION }}
publish:
name: Publish to Docker Hub
# We only publish to Docker Hub if this is a tag or 2.x branch push event
Expand Down

0 comments on commit 6efa74d

Please sign in to comment.