Skip to content

Commit

Permalink
Merge pull request #9 from devops-ia/fix/upgrade-opencti-appversion-6…
Browse files Browse the repository at this point in the history
….2.12

[opencti] Bump version to 6.2.12
  • Loading branch information
ialejandro committed Aug 7, 2024
2 parents 36b0cd9 + 9712f53 commit fff0560
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check OpenCTI updates
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'
- cron: '0 0 * * *'

jobs:
check-and-release:
Expand Down Expand Up @@ -31,7 +31,6 @@ jobs:
- name: Check if exists changes
id: check_changes
run: |
# check changes
if [ ${{ steps.latest_version.outputs.latest_version }} != ${{ steps.current_version.outputs.current_version }} ]; then
echo "version_changed=true" >> $GITHUB_OUTPUT
fi
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,20 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Get chart verison
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
id: semantic_release
with:
dry_run: true
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update Chart verison
id: chart_version
run: |
echo "CHART_VERSION=$(cat opencti/Chart.yaml | awk -F"[ ',]+" '/version:/{print $2}' | head -1)" >> $GITHUB_OUTPUT
sed -i 's/version: .*/version: ${{ steps.semantic_release.outputs.new_release_git_tag }}/g' opencti/Chart.yaml
echo "CHART_VERSION=${{ steps.semantic_release.outputs.new_release_git_tag }}" >> $GITHUB_OUTPUT
- name: Check if tag exists
id: tag_exists
Expand Down
2 changes: 1 addition & 1 deletion opencti/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ maintainers:
sources:
- https://github.com/OpenCTI-Platform/opencti
version: 1.2.8
appVersion: 6.2.11
appVersion: 6.2.12
home: https://www.filigran.io/en/solutions/products/opencti/
keywords:
- opencti
Expand Down

0 comments on commit fff0560

Please sign in to comment.