Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jcouyang committed Mar 3, 2024
1 parent 766c5b3 commit 35b7352
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,16 @@ jobs:
docker tag ghcr.io/jcouyang/dhall-aws-cloudformation:latest ghcr.io/jcouyang/dhall-aws-cloudformation:$LOCAL_VERSION
docker push ghcr.io/jcouyang/dhall-aws-cloudformation:latest
docker push ghcr.io/jcouyang/dhall-aws-cloudformation:$LOCAL_VERSION
- name: Setup Dhall
uses: dhall-lang/setup-dhall@v4
with:
version: '1.42.0'
- name: tag release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
LAST_RELEASE=$(nix-shell -p hub --run 'hub release -L 1')
LOCAL_VERSION=$(nix-shell -p dhall --run 'dhall text < ./version.dhall')
LOCAL_VERSION=$(dhall text < ./version.dhall)
echo "main version is $LAST_RELEASE and current version is $LOCAL_VERSION"
if [ ${LAST_RELEASE:-0} != $LOCAL_VERSION ];then
nix-shell -p hub --run "hub release create -m $LOCAL_VERSION $LOCAL_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
with builtins;
let
version = "0.9";
version = "0.10";
depsToDhall = preset:
pkgs.writeText "package.dhall" (
if length preset > 0 then
Expand Down
2 changes: 1 addition & 1 deletion version.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ let patch = env:GITHUB_RUN_NUMBER as Text ? "dev"

let major = "0"

let minor = "9"
let minor = "10"

in "${major}.${minor}.${patch}"

0 comments on commit 35b7352

Please sign in to comment.