Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzakaracic committed Jan 4, 2025
1 parent 265dbac commit 471f29b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@ on:
type: string
required: true
description: New version to set
commit:
type: string
required: false
description: Commit of of which to build new version. If not provided will use HEAD
default: dev/dev-ci-fixes-stage # todo: Update this for after demo

jobs:
build-stage:
name: Build stage
uses: ./.github/workflows/release-stage.yaml
with:
ref: ${{ inputs.commit }}
# This will need to change to point to staging branch
ref: dev/dev-ci-fixes-stage
version: ${{ inputs.version }}
build-number: ${{ github.run_number }}
is-snapshot: false
secrets: inherit
18 changes: 9 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ jobs:
run: |
echo "should commit"
#- name: Commit new version
# # Only committing version if this is a release and not snapshot build
# if: ${{ inputs.is-snapshot != true }}
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: 'Bumping version to ${{ inputs.version }} [skip ci]'
# commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# tagging_message: Bumping version ${{ inputs.version }}
# branch: ${{ inputs.ref }}
- name: Commit new version
# Only committing version if this is a release and not snapshot build
if: ${{ inputs.is-snapshot != true }}
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Bumping version to ${{ inputs.version }} [skip ci]'
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
tagging_message: Bumping version ${{ inputs.version }}
branch: ${{ inputs.ref }}

- name: Publish to JFrog
uses: ./.github/actions/publish-to-jfrog
Expand Down

0 comments on commit 471f29b

Please sign in to comment.