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

Add bump for tracking upstream updates + Action for checking + badge for bump #10

Merged
merged 3 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
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
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
Loading