Skip to content

Commit

Permalink
Rename artifacts.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Jun 22, 2023
1 parent 5621738 commit 92bdad8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
commit: ${{github.sha}}
workflow_conclusion: success

- name: Pack artifacts
run: tar -cvf artifacts.tar.gz *-installer
- name: Rename and pack artifacts
run: |
# replace spaces by dashes in file names
for i in *-installer/*; do mv "$i" "${i//\ /-}"; done
tar -cvf artifacts.tar.gz *-installer
- name: Draft a release
uses: softprops/action-gh-release@v1
Expand Down
10 changes: 5 additions & 5 deletions jenkins/release.jenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ standardReleasePipelineWithGenericTrigger(
publishRelease: true) {
publishToArtifactsProdBucket(
assumedRoleName: 'sql-odbc-upload-role',
source: 'opensearch-sql-odbc-driver-32-bit-1.5.0.0-Windows.msi',
source: 'windows32-installer/OpenSearch-SQL-ODBC-Driver-32-bit-1.5.0.0-Windows.msi',
destination: 'opensearch-clients/odbc/opensearch-sql-odbc-driver-32-bit-1.5.0.0-Windows.msi',
signingPlatform: 'windows',
sigType: 'null',
sigOverwrite: true
)
publishToArtifactsProdBucket(
publishToArtifactsProdBucket(
assumedRoleName: 'sql-odbc-upload-role',
source: 'opensearch-sql-odbc-driver-64-bit-1.5.0.0-Windows.msi',
source: 'windows64-installer/OpenSearch-SQL-ODBC-Driver-64-bit-1.5.0.0-Windows.msi',
destination: 'opensearch-clients/odbc/opensearch-sql-odbc-driver-64-bit-1.5.0.0-Windows.msi',
signingPlatform: 'windows',
sigType: 'null',
sigOverwrite: true
)
publishToArtifactsProdBucket(
publishToArtifactsProdBucket(
assumedRoleName: 'sql-odbc-upload-role',
source: 'opensearch-sql-odbc-driver-64-bit-1.5.0.0-Darwin.pkg,
source: 'mac64-installer/OpenSearch-SQL-ODBC-Driver-64-bit-1.5.0.0-Darwin.pkg',
destination: 'opensearch-clients/odbc/opensearch-sql-odbc-driver-64-bit-1.5.0.0-Darwin.pkg',
signingPlatform: 'macos',
sigType: 'null',
Expand Down

0 comments on commit 92bdad8

Please sign in to comment.