diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 564ba74..fc3fa83 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -46,16 +46,10 @@ jobs: VERSION=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"') echo "VERSION=$VERSION" >> $GITEA_ENV - name: Extract Version from Cargo.toml - id: cargo_version + id: Extract version from cargo.toml run: | VERSION=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"') echo "VERSION=$VERSION" >> $GITHUB_ENV - - - name: Test1 - run: echo ${{ env.VERSION }} - - name: Test2 - run: echo ${{ VERSION }} - - name: Build and Push Docker Image uses: docker/build-push-action@v2 with: diff --git a/Cargo.toml b/Cargo.toml index a5e2cda..c9a59b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iot-cloud" -version = "0.1.0" +version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html