Skip to content

Commit

Permalink
Merge pull request #34 from c-rutter/develop
Browse files Browse the repository at this point in the history
Updating version control
  • Loading branch information
pedroliman committed Jun 15, 2023
2 parents 4b724ca + c3d77a6 commit 1f7c34c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
branches:
- master

name: make-release

jobs:
create-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Extract version
run: |
echo "PACKAGE_VERSION=$(grep '^Version' DESCRIPTION | sed 's/.*: *//')" >> $GITHUB_ENV
echo "PACKAGE_NAME=$(grep '^Package' DESCRIPTION | sed 's/.*: *//')" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ env.PACKAGE_VERSION }}
release_name: v${{ env.PACKAGE_VERSION }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: crcrdm
Title: Robust Decision Making tools for cancer screening models
Version: 1.0.3
Version: 1.0.4
Author: Pedro Nascimento de Lima
Maintainer: Pedro Nascimento de Lima <plima@rand.org>
Description: This package implements the crcmodel and the crcexperiment R6
Expand Down

0 comments on commit 1f7c34c

Please sign in to comment.