Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use auto-pr by using new action #58

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 4 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -848,28 +848,9 @@ jobs:
- deploy
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
repository: "manticoresoftware/manticoresearch"
token: ${{ secrets.GITHUB_TOKEN }}

- name: Update deps.txt
id: deps
run: |
version=${{ needs.vars.outputs.app_version }}
date=${{ needs.vars.outputs.app_date }}
commit=${{ needs.vars.outputs.app_commit }}

version_string="$version $date $commit"
echo "version_string=${version_string// /-}" >> $GITHUB_OUTPUT
sed -i '/^executor\s/c\executor '"$version_string" deps.txt

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
- name: Update deps
uses: manticoresoftware/manticoresearch/actions/update-deps@master
with:
name: executor
version: "${{ needs.vars.outputs.app_version }} ${{ needs.vars.outputs.app_date }} ${{ needs.vars.outputs.app_commit }}"
token: ${{ secrets.PR_TOKEN }}
commit-message: "Bump executor version to: ${{ steps.deps.outputs.version_string }}"
title: "Update executor version"
body: "Updating executor version to ${{ steps.deps.outputs.version_string }}"
branch: "update-executor-version"
draft: false
Loading