From 49ad024d046548953e3ab8d36304569dc9f5323c Mon Sep 17 00:00:00 2001 From: Micaiah Martin Date: Wed, 17 Apr 2024 10:37:00 -0600 Subject: [PATCH] Pull version from bws - Lint --- .github/workflows/build-swift.yml | 3 +-- .github/workflows/release-swift.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-swift.yml b/.github/workflows/build-swift.yml index 70d4a16a7..18bd76c0b 100644 --- a/.github/workflows/build-swift.yml +++ b/.github/workflows/build-swift.yml @@ -9,7 +9,6 @@ on: - "master" - "DEVOPS-1525-swift-workflow-for-package-publishing" - jobs: version: name: Get Version @@ -23,7 +22,7 @@ jobs: - name: Get Package Version id: retrieve-version run: | - VERSION=$(grep -o '^version = ".*"' crates/bitwarden/Cargo.toml | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+") + VERSION=$(grep -o '^version = ".*"' crates/bws/Cargo.toml | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+") echo "package_version=$VERSION" >> $GITHUB_OUTPUT build: diff --git a/.github/workflows/release-swift.yml b/.github/workflows/release-swift.yml index 503029a64..9a5195c04 100644 --- a/.github/workflows/release-swift.yml +++ b/.github/workflows/release-swift.yml @@ -92,7 +92,7 @@ jobs: # Run swiftformat swiftformat sdk/languages/swift/Package.swift - + # Copy files to local sdk-swift repo path cp --verbose -rf sdk/languages/swift/README.md sdk-swift/README.md cp --verbose -rf sdk/languages/swift/Package.swift sdk-swift/Package.swift