diff --git a/Makefile b/Makefile index 5d23299..b4ad80c 100644 --- a/Makefile +++ b/Makefile @@ -20,3 +20,20 @@ DISTRIBUTABLES += $(wildcard LICENSE*) # Include the Rack plugin Makefile framework include $(RACK_DIR)/plugin.mk + +win-dist: all + rm -rf dist + mkdir -p dist/$(SLUG) + @# Strip and copy plugin binary + cp $(TARGET) dist/$(SLUG)/ +ifdef ARCH_MAC + $(STRIP) -S dist/$(SLUG)/$(TARGET) +else + $(STRIP) -s dist/$(SLUG)/$(TARGET) +endif + @# Copy distributables + cp -R $(DISTRIBUTABLES) dist/$(SLUG)/ + @# Create ZIP package + echo "cd dist && 7z.exe a $(SLUG)-$(VERSION)-$(ARCH).zip -r $(SLUG)" + cd dist && 7z.exe a $(SLUG)-$(VERSION)-$(ARCH).zip -r $(SLUG) + \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d1e844d..d906a47 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -78,21 +78,21 @@ jobs: - task: PublishPipelineArtifact@0 inputs: - artifactName: 'BACONPLUGS_ZIP_LINUX' + artifactName: 'RETUNESFREE_ZIP_LINUX' targetPath: 'products_lin/' displayName: Publish Linux Zip condition: variables.isLinux - task: PublishPipelineArtifact@0 inputs: - artifactName: 'BACONPLUGS_ZIP_MACOS' + artifactName: 'RETUNESFREE_ZIP_MACOS' targetPath: 'products_mac/' displayName: Publish macOS Zip condition: variables.isMac - task: PublishPipelineArtifact@0 inputs: - artifactName: 'BACONPLUGS_ZIP_WIN' + artifactName: 'RETUNESFREE_ZIP_WIN' targetPath: 'products_win/' displayName: Publish Windows Zip condition: variables.isWindows @@ -106,17 +106,17 @@ jobs: - task: DownloadPipelineArtifact@0 inputs: - artifactName: 'BACONPLUGS_ZIP_LINUX' + artifactName: 'RETUNESFREE_ZIP_LINUX' targetPath: $(Build.ArtifactStagingDirectory) - task: DownloadPipelineArtifact@0 inputs: - artifactName: 'BACONPLUGS_ZIP_MACOS' + artifactName: 'RETUNESFREE_ZIP_MACOS' targetPath: $(Build.ArtifactStagingDirectory) - task: DownloadPipelineArtifact@0 inputs: - artifactName: 'BACONPLUGS_ZIP_WIN' + artifactName: 'RETUNESFREE_ZIP_WIN' targetPath: $(Build.ArtifactStagingDirectory) - bash: | @@ -133,13 +133,11 @@ jobs: - task: GitHubRelease@0 displayName: "Update Github Release" inputs: - gitHubConnection: baconpaul - repositoryName: baconpaul/BaconPlugs + gitHubConnection: github.com_DominoMarama + repositoryName: DominoMarama/ReTunesFree action: edit tag: Nightly target: '$(Build.SourceVersion)' addChangeLog: false releaseNotesFile: $(Build.ArtifactStagingDirectory)/ReleaseNotes.md assets: $(Build.ArtifactStagingDirectory)/*.zip - - diff --git a/scripts/plugin-builder.sh b/scripts/plugin-builder.sh index 93136f8..6fa5456 100755 --- a/scripts/plugin-builder.sh +++ b/scripts/plugin-builder.sh @@ -27,7 +27,7 @@ EOF } un=`uname` -sdkversion=1.dev.ddf06a9 +sdkversion=1.1.6 sdk="https://vcvrack.com/downloads/Rack-SDK-${sdkversion}.zip" slug=`jq -r '{slug} | .[]' plugin.json ` diff --git a/scripts/release-notes.sh b/scripts/release-notes.sh index 459fad5..9d560b3 100755 --- a/scripts/release-notes.sh +++ b/scripts/release-notes.sh @@ -1,15 +1,15 @@ #!/bin/bash cat <<- EOH -# Automatically generated BaconMusic release +# Automatically generated ReTunesFree release -This release is automatically generated every time I push BaconMusic -to master. As such it is the latest version of the code and may be +This release is automatically generated every time I update ReTunesFree. +As such it is the latest version of the code and may be unstable, unusable, unsuitable for human consumption, and so on. -The stable release is always available in the Rack Plugin Manager. +I plan on stable releases being available in the Rack Plugin Manager. These assets were built against -https://vcvrack.com/downloads/Rack-SDK-1.0.0.zip +https://vcvrack.com/downloads/Rack-SDK-1.1.6.zip The build date and most recent commits are: