Skip to content

Commit

Permalink
fix build pipeline version
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-shellyw committed Nov 28, 2024
1 parent f80b0c6 commit 9eafce7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:


env:
DEV_VERSION: 2.0.1.dev1
DEV_VERSION: v2.0.1.dev0

permissions:
# need contents write permission to create release... careful with this because it is a broad permission
Expand All @@ -26,9 +26,9 @@ jobs:
java-version: '11'
distribution: 'temurin'
- name: Change version of build.gradle to use current tag
run: sed -i -e "s/\${{ github.ref_name }}/$DEV_VERSION/g" build.gradle
run: sed -i -e "s/${DEV_VERSION}/${{ github.ref_name }}/g" build.gradle
- name: Change version of conf.yml to use current tag
run: sed -i -e "s/\${{ github.ref_name }}/$DEV_VERSION/g" resources/conf.yml
run: sed -i -e "s/${DEV_VERSION}/${{ github.ref_name }}/g" resources/conf.yml
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
}

group 'ca.gc.cyber'
version '2.0.1.dev1'
version 'v2.0.1.dev0'


dependencies {
Expand Down
2 changes: 1 addition & 1 deletion resources/conf.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# YAML Format
# http://www.yaml.org/start.html

version: '2.0.1.dev1'
version: 'v2.0.1.dev0'

temporary_folder: './tmp/'
output_folder: './output/'
Expand Down

0 comments on commit 9eafce7

Please sign in to comment.