Moving / renaming a folder in app veyor after build script

Chris Hawley's Avatar

Chris Hawley

28 Jun, 2019 10:16 AM

In our appveyor after build script for an Ubuntu image using sh we have a requirement to rename some folders. I have tried the following, but currently the build event log does not appear to run the command so I'm guessing my syntax is wrong. If anyone can give me any pointers that would be greatly appreciated.

dotnet publish ./some-project.sln -c Release -o ./obj/Docker/publish
mv ./obj/Docker/publish/en-gb ./obj/Docker/publish/en-GB
docker build -t someproject:latest -t someproject:$APPVEYOR_BUILD_VERSION .

  1. 1 Posted by Owen McDonnell on 28 Jun, 2019 05:09 PM

    Owen McDonnell's Avatar

    I'm no bash expert, but it looks ok to me. What if you add -v to get some more info?
    Also, maybe try absolute paths with $APPVEYOR_BUILD_FOLDER.

  2. Ilya Finkelshteyn closed this discussion on 28 Aug, 2019 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac