Skip to content

Commit

Permalink
ci: build-image, add package bumper
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Apr 17, 2024
1 parent 34cb080 commit 4c08f31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
USIGN_PRIV_KEY: ${{ secrets.USIGN_PRIV_KEY }}
NETIFYD_ACCESS_TOKEN: ${{ secrets.NETIFYD_ACCESS_TOKEN }}
TARGET: ${{ github.event.inputs.target }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -130,3 +132,8 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
run: |
tools/issue-comment
- id: bumper
name: Bump ns-packages
if: ${{ github.ref == 'refs/heads/main' }}
run: |
tools/package-bumber
1 change: 1 addition & 0 deletions tools/package-bumper
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if [ ${#packages[@]} -gt 0 ]; then
echo "Bump ${package_name} from ${cur_release} to ${new_release}"
git add ${dir}/Makefile && git commit -m "${package_name}: bump to ${new_release}"
git push -f
gh pr create --title "chore: bump ns packages (automatic)" --fill-verbose -B main
done
else
echo "No packages to bump."
Expand Down

0 comments on commit 4c08f31

Please sign in to comment.