Skip to content

Commit

Permalink
Merge pull request #10 from v1gnesh/main
Browse files Browse the repository at this point in the history
Add bump for tracking upstream updates + Action for checking + badge for bump
  • Loading branch information
IgorTodorovskiIBM committed Nov 12, 2023
2 parents 71aff95 + ee0ab63 commit f33fdd3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Automatic version updates'

on:
schedule:
# minute hour dom month dow (UTC)
- cron: '00 15 * * *'
# enable manual trigger of version updates
workflow_dispatch:
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: ZOSOpenTools/meta/actions@main
env:
GITHUB_TOKEN: ${{ secrets.BUMP_TOKEN }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Automatic version updates](https://github.com/ZOSOpenTools/zoslibport/actions/workflows/bump.yml/badge.svg)](https://github.com/ZOSOpenTools/zoslibport/actions/workflows/bump.yml)

## ZOSLIB

ZOSLIB is a z/OS C/C++ library, available in https://github.com/ibmruntimes/zoslib. It is an extended implementation of the z/OS LE C Runtime Library.
Expand Down
11 changes: 7 additions & 4 deletions buildenv
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
export ZOPEN_GIT_URL="https://github.com/ibmruntimes/zoslib.git"
export ZOPEN_GIT_DEPS="make cmake git coreutils"
export ZOPEN_GIT_BRANCH="zopen"
export ZOPEN_TYPE="GIT"
# bump: zoslib-version /ZOSLIB_VERSION="(.*)"/ https://github.com/ibmruntimes/zoslib.git|semver:*
ZOSLIB_VERSION="4.0.0"

export ZOPEN_BUILD_LINE="DEV"
export ZOPEN_DEV_URL="https://github.com/ibmruntimes/zoslib.git"
export ZOPEN_DEV_DEPS="make cmake git coreutils"
export ZOPEN_DEV_BRANCH="zopen"
export ZOPEN_DONT_ADD_ZOSLIB_DEP=1 # zoslib cannot currently build with itself

export ZOPEN_CONFIGURE="cmake"
Expand Down

0 comments on commit f33fdd3

Please sign in to comment.